Skip to content
Snippets Groups Projects
Commit d4c9674d authored by Gabriele Buondonno's avatar Gabriele Buondonno
Browse files

Set BUILD_PYTHON_INTERFACE to OFF by default and set it manually ON in the CI

parent b948c619
No related branches found
No related tags found
No related merge requests found
...@@ -5,6 +5,7 @@ env: ...@@ -5,6 +5,7 @@ env:
- CTEST_PARALLEL_LEVEL=4 - CTEST_PARALLEL_LEVEL=4
- CTEST_OUTPUT_ON_FAILURE=1 - CTEST_OUTPUT_ON_FAILURE=1
- CXX_FLAGS_DEBUG="-O1" - CXX_FLAGS_DEBUG="-O1"
- BUILD_PYTHON_INTERFACE=ON
matrix: matrix:
include: include:
...@@ -97,7 +98,7 @@ script: ...@@ -97,7 +98,7 @@ script:
- cd build - cd build
# Configure # 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 # Build
- make -j4 - make -j4
......
...@@ -58,7 +58,7 @@ IF(APPLE) ...@@ -58,7 +58,7 @@ IF(APPLE)
endif("${isSystemDir}" STREQUAL "-1") endif("${isSystemDir}" STREQUAL "-1")
ENDIF(APPLE) ENDIF(APPLE)
OPTION(BUILD_PYTHON_INTERFACE "Build the python bindings" ON) OPTION(BUILD_PYTHON_INTERFACE "Build the python bindings" OFF)
# Tell CMake that we compute the PROJECT_VERSION manually. # Tell CMake that we compute the PROJECT_VERSION manually.
CMAKE_POLICY(SET CMP0048 OLD) CMAKE_POLICY(SET CMP0048 OLD)
......
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