Unverified Commit c68543fd authored by Joseph Mirabel's avatar Joseph Mirabel Committed by GitHub
Browse files

Merge pull request #118 from jcarpent/devel

cmake: add target python
parents be06a13c a0002e77
......@@ -34,6 +34,9 @@
ADD_REQUIRED_DEPENDENCY("eigenpy >= 1.2")
ADD_CUSTOM_TARGET(python)
SET_TARGET_PROPERTIES(python PROPERTIES EXCLUDE_FROM_DEFAULT_BUILD True)
# Name of the Python library
SET(LIBRARY_NAME hppfcl)
......@@ -53,6 +56,7 @@ SET(${LIBRARY_NAME}_SOURCES
)
ADD_LIBRARY(${LIBRARY_NAME} SHARED ${${LIBRARY_NAME}_SOURCES} ${${LIBRARY_NAME}_HEADERS})
ADD_DEPENDENCIES(python ${LIBRARY_NAME})
ADD_HEADER_GROUP(${LIBRARY_NAME}_HEADER)
ADD_SOURCE_GROUP(${LIBRARY_NAME}_SOURCES)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment