Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jason Chemin
hpp-rbprm-corba
Commits
a8facd1b
Unverified
Commit
a8facd1b
authored
Mar 19, 2019
by
Guilhem Saurel
Committed by
GitHub
Mar 19, 2019
Browse files
Merge pull request #23 from nim65s/devel
[CMake] hpp-pinocchio is required
parents
15b94f1d
5e6eab7b
Changes
3
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
a8facd1b
...
...
@@ -23,18 +23,17 @@ SET(CXX_DISABLE_WERROR true)
INCLUDE
(
cmake/base.cmake
)
INCLUDE
(
cmake/idl.cmake
)
INCLUDE
(
cmake/python.cmake
)
INCLUDE
(
cmake/hpp.cmake
)
SET
(
PROJECT_ORG humanoid-path-planner
)
SET
(
PROJECT_NAME hpp-rbprm-corba
)
SET
(
PROJECT_DESCRIPTION
"Corba server for reachability based planning"
)
SET
(
PROJECT_URL
"https://github.com/
${
PROJECT_ORG
}
/
${
PROJECT_NAME
}
"
)
# Set to 1 for profiling
#add_definitions(-DPROFILE)
SET
(
CUSTOM_HEADER_DIR hpp/corbaserver/rbprm
)
SETUP_PROJECT
()
SETUP_
HPP_
PROJECT
()
SET
(
${
PROJECT_NAME
}
_HEADERS
include/hpp/corbaserver/rbprm/server.hh
...
...
@@ -52,8 +51,9 @@ ADD_REQUIRED_DEPENDENCY("hpp-rbprm >= 4.3")
ADD_REQUIRED_DEPENDENCY
(
"omniORB4 >= 4.1.4"
)
ADD_REQUIRED_DEPENDENCY
(
"hpp-affordance-corba"
)
ADD_REQUIRED_DEPENDENCY
(
"hpp-util >= 3"
)
ADD_REQUIRED_DEPENDENCY
(
"hpp-pinocchio >= 4.3"
)
set
(
CMAKE_MODULE_PATH
"
${
PROJECT_SOURCE_DIR
}
/cmake
2
"
)
set
(
CMAKE_MODULE_PATH
"
${
PROJECT_SOURCE_DIR
}
/cmake
/find-external/CDD
"
)
find_package
(
CDD REQUIRED
)
add_required_dependency
(
"octomap >= 1.8"
)
...
...
@@ -77,4 +77,4 @@ ADD_SUBDIRECTORY(src)
CONFIG_FILES
(
include/hpp/corbaserver/rbprm/doc.hh
)
SETUP_PROJECT_FINALIZE
()
SETUP_
HPP_
PROJECT_FINALIZE
()
cmake2/FindCDD.cmake
deleted
100644 → 0
View file @
15b94f1d
# - Try to find libcdd
# Once done this will define
# CDD_FOUND - System has CDD
# CDD_INCLUDE_DIRS - The CDD include directories
# CDD_LIBRARIES - The libraries needed to use CDD
# CDD_DEFINITIONS - Compiler switches required for using CDD
find_path
(
CDD_INCLUDE_DIR cdd.h
HINTS
${
CDD_INCLUDEDIR
}
/usr/include /usr/include/cdd /usr/include/cddlib
PATH_SUFFIXES CDD
)
find_library
(
CDD_LIBRARY NAMES libcdd.so
HINTS
${
CDD_LIBDIR
}
${
CDD_LIBRARY_DIRS
}
/usr/lib/libcdd.so
)
set
(
CDD_LIBRARIES
${
CDD_LIBRARY
}
)
set
(
CDD_INCLUDE_DIRS
${
CDD_INCLUDE_DIR
}
)
include
(
FindPackageHandleStandardArgs
)
# handle the QUIETLY and REQUIRED arguments and set CDD_FOUND to TRUE
# if all listed variables are TRUE
find_package_handle_standard_args
(
CDD DEFAULT_MSG
CDD_LIBRARY CDD_INCLUDE_DIR
)
mark_as_advanced
(
CDD_INCLUDE_DIR CDD_LIBRARY
)
src/CMakeLists.txt
View file @
a8facd1b
...
...
@@ -106,5 +106,6 @@ INSTALL(
# Stand alone corba server
ADD_EXECUTABLE
(
hpp-rbprm-server hpp-rbprm-corba.cc
)
TARGET_LINK_LIBRARIES
(
hpp-rbprm-server
${
LIBRARY_NAME
}
hpp-rbprm
)
PKG_CONFIG_USE_DEPENDENCY
(
hpp-rbprm-server hpp-pinocchio
)
INSTALL
(
TARGETS hpp-rbprm-server DESTINATION
${
CMAKE_INSTALL_BINDIR
}
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment