Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Humanoid Path Planner
hpp-centroidal-dynamics
Commits
c84717bc
Commit
c84717bc
authored
Sep 11, 2020
by
Guilhem Saurel
Browse files
[CMake] sync submodule and its use
parent
cf4d5997
Pipeline
#14077
passed with stage
in 4 minutes and 16 seconds
Changes
3
Pipelines
10
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
c84717bc
...
...
@@ -26,9 +26,8 @@ PROJECT(${PROJECT_NAME} ${PROJECT_ARGS})
IF
(
BUILD_PYTHON_INTERFACE
)
FINDPYTHON
()
STRING
(
REGEX REPLACE
"-"
"_"
PY_NAME
${
PROJECT_NAME
}
)
SEARCH_FOR_BOOST_PYTHON
(
REQUIRED
)
ADD_PROJECT_DEPENDENCY
(
eigenpy REQUIRED
)
SET
(
BOOST_COMPONENTS python
)
SEARCH_FOR_BOOST
()
ENDIF
(
BUILD_PYTHON_INTERFACE
)
# Project dependencies
...
...
cmake
@
32015cb2
Compare
a61ae614
...
32015cb2
Subproject commit
a61ae61479a1d50d1ae3c988d1d9aaf20841173d
Subproject commit
32015cb28d977b592227675665d17d11531ef418
python/CMakeLists.txt
View file @
c84717bc
# Define the wrapper library that wraps our library
ADD_LIBRARY
(
${
PY_NAME
}
SHARED centroidal_dynamics_python
)
TARGET_LINK_LIBRARIES
(
${
PY_NAME
}
${
Boost_LIBRARIES
}
${
PROJECT_NAME
}
eigenpy::eigenpy
)
TARGET_LINK_LIBRARIES
(
${
PY_NAME
}
${
PROJECT_NAME
}
eigenpy::eigenpy
)
# don't prepend wrapper library name with lib
SET_TARGET_PROPERTIES
(
${
PY_NAME
}
PROPERTIES PREFIX
""
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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