Skip to content
Snippets Groups Projects
Verified Commit a0002e77 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

cmake: add target python

parent be06a13c
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment