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
d4c9674d
Commit
d4c9674d
authored
Nov 04, 2019
by
Gabriele Buondonno
Browse files
Set BUILD_PYTHON_INTERFACE to OFF by default and set it manually ON in the CI
parent
b948c619
Changes
2
Hide whitespace changes
Inline
Side-by-side
.travis.yml
View file @
d4c9674d
...
...
@@ -5,6 +5,7 @@ env:
-
CTEST_PARALLEL_LEVEL=4
-
CTEST_OUTPUT_ON_FAILURE=1
-
CXX_FLAGS_DEBUG="-O1"
-
BUILD_PYTHON_INTERFACE=ON
matrix
:
include
:
...
...
@@ -97,7 +98,7 @@ script:
-
cd build
# Configure
-
cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_CXX_FLAGS=-w -DCMAKE_CXX_FLAGS_DEBUG=${CXX_FLAGS_DEBUG} ..
-
cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_CXX_FLAGS=-w -DCMAKE_CXX_FLAGS_DEBUG=${CXX_FLAGS_DEBUG}
-DBUILD_PYTHON_INTERFACE=${BUILD_PYTHON_INTERFACE}
..
# Build
-
make -j4
...
...
CMakeLists.txt
View file @
d4c9674d
...
...
@@ -58,7 +58,7 @@ IF(APPLE)
endif
(
"
${
isSystemDir
}
"
STREQUAL
"-1"
)
ENDIF
(
APPLE
)
OPTION
(
BUILD_PYTHON_INTERFACE
"Build the python bindings"
O
N
)
OPTION
(
BUILD_PYTHON_INTERFACE
"Build the python bindings"
O
FF
)
# Tell CMake that we compute the PROJECT_VERSION manually.
CMAKE_POLICY
(
SET CMP0048 OLD
)
...
...
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