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
hpp-fcl
Commits
a0002e77
Verified
Commit
a0002e77
authored
Dec 09, 2019
by
Justin Carpentier
Browse files
cmake: add target python
parent
be06a13c
Changes
1
Hide whitespace changes
Inline
Side-by-side
python/CMakeLists.txt
View file @
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
)
...
...
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