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
Guilhem Saurel
ndcurves
Commits
01f88e9b
Commit
01f88e9b
authored
Feb 26, 2019
by
Guilhem Saurel
Committed by
Guilhem Saurel
Feb 26, 2019
Browse files
[CMake] update cmake submodule use
parent
68fc845b
Changes
2
Show whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
01f88e9b
...
...
@@ -3,13 +3,12 @@ project(spline)
INCLUDE
(
cmake/base.cmake
)
INCLUDE
(
cmake/test.cmake
)
INCLUDE
(
cmake/python.cmake
)
INCLUDE
(
cmake/hpp.cmake
)
SET
(
PROJECT_ORG humanoid-path-planner
)
SET
(
PROJECT_NAME hpp-spline
)
SET
(
PROJECT_DESCRIPTION
"template based classes for creating and manipulating spline and bezier curves. Comes with extra options specific to end-effector trajectories in robotics."
)
SET
(
PROJECT_URL
"https://github.com/
${
PROJECT_ORG
}
/
${
PROJECT_NAME
}
"
)
# Disable -Werror on Unix for now.
SET
(
CXX_DISABLE_WERROR True
)
...
...
@@ -18,11 +17,11 @@ SET(CMAKE_VERBOSE_MAKEFILE True)
find_package
(
Eigen3 REQUIRED
)
include_directories
(
${
EIGEN3_INCLUDE_DIR
}
)
SETUP_PROJECT
()
SETUP_
HPP_
PROJECT
()
OPTION
(
BUILD_PYTHON_INTERFACE
"Build the python binding"
ON
)
IF
(
BUILD_PYTHON_INTERFACE
)
# search for python
# search for python
FINDPYTHON
(
2.7 REQUIRED
)
find_package
(
PythonLibs 2.7 REQUIRED
)
include_directories
(
${
PYTHON_INCLUDE_DIRS
}
)
...
...
@@ -31,11 +30,10 @@ IF(BUILD_PYTHON_INTERFACE)
include_directories
(
${
Boost_INCLUDE_DIR
}
)
add_subdirectory
(
python
)
ENDIF
(
BUILD_PYTHON_INTERFACE
)
ADD_SUBDIRECTORY
(
include/hpp/spline
)
ADD_SUBDIRECTORY
(
tests
)
SETUP_PROJECT_FINALIZE
()
SETUP_
HPP_
PROJECT_FINALIZE
()
cmake
@
cea261e3
Compare
77876c44
...
cea261e3
Subproject commit
77876c449c4a8b20a3e534a6db9eaa47c2b76a0c
Subproject commit
cea261e3da7d383844530070356bca76d20197a8
Write
Preview
Supports
Markdown
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