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
ndcurves
Commits
7dac08b9
Commit
7dac08b9
authored
Jan 15, 2020
by
Guilhem Saurel
Browse files
[CMake] add INSTALL_PYTHON_INTERFACE_ONLY option
parent
3092691d
Pipeline
#8340
passed with stage
in 17 minutes and 6 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
7dac08b9
...
...
@@ -32,6 +32,8 @@ ENDIF(CURVES_WITH_PINOCCHIO_SUPPORT)
SET
(
BOOST_COMPONENTS unit_test_framework serialization
)
OPTION
(
BUILD_PYTHON_INTERFACE
"Build the python binding"
ON
)
OPTION
(
INSTALL_PYTHON_INTERFACE_ONLY
"Install *ONLY* the python bindings"
OFF
)
IF
(
BUILD_PYTHON_INTERFACE
)
FINDPYTHON
()
INCLUDE_DIRECTORIES
(
SYSTEM
${
PYTHON_INCLUDE_DIRS
}
)
...
...
@@ -52,5 +54,8 @@ IF(BUILD_PYTHON_INTERFACE)
ADD_SUBDIRECTORY
(
python
)
ENDIF
(
BUILD_PYTHON_INTERFACE
)
ADD_SUBDIRECTORY
(
include/curves
)
IF
(
NOT INSTALL_PYTHON_INTERFACE_ONLY
)
ADD_SUBDIRECTORY
(
include/curves
)
ENDIF
(
NOT INSTALL_PYTHON_INTERFACE_ONLY
)
ADD_SUBDIRECTORY
(
tests
)
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