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
Guilhem Saurel
hpp-fcl
Commits
c68543fd
Unverified
Commit
c68543fd
authored
Dec 10, 2019
by
Joseph Mirabel
Committed by
GitHub
Dec 10, 2019
Browse files
Merge pull request #118 from jcarpent/devel
cmake: add target python
parents
be06a13c
a0002e77
Changes
1
Hide whitespace changes
Inline
Side-by-side
python/CMakeLists.txt
View file @
c68543fd
...
...
@@ -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
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