Skip to content
Snippets Groups Projects
Unverified Commit 284155c7 authored by Fernbach Pierre's avatar Fernbach Pierre Committed by GitHub
Browse files

Merge pull request #88 from pFernbach/disable_python

Disable python by default
parents d18d5655 3485bb79
No related branches found
No related tags found
No related merge requests found
Pipeline #22090 passed
......@@ -7,7 +7,7 @@ set(PROJECT_DESCRIPTION "creatie and manipulate spline and bezier curves.")
set(PROJECT_URL "https://github.com/${PROJECT_ORG}/${PROJECT_NAME}")
# Project options
option(BUILD_PYTHON_INTERFACE "Build the python bindings" ON)
option(BUILD_PYTHON_INTERFACE "Build the python bindings" OFF)
option(INSTALL_PYTHON_INTERFACE_ONLY "Install *ONLY* the python bindings" OFF)
option(SUFFIX_SO_VERSION "Suffix library name with its version" ON)
......
......@@ -48,9 +48,11 @@ The library is header only, so the build only serves to build the tests and pyth
```sh
cd $NDCURVES_DIR && mkdir build && cd build
cmake .. && make && make test
cmake -DBUILD_PYTHON_INTERFACE=ON .. && make && make test
```
Switch the BUILD_PYTHON argument to OFF if you don't want to use the python bindings of the package.
If everything went fine you should obtain the following output:
```sh
100% tests passed, 0 tests failed out of 3
......
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