Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
ndcurves
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
loco-3d
ndcurves
Commits
284155c7
Unverified
Commit
284155c7
authored
2 years ago
by
Fernbach Pierre
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #88 from pFernbach/disable_python
Disable python by default
parents
d18d5655
3485bb79
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#22090
passed
2 years ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+1
-1
1 addition, 1 deletion
CMakeLists.txt
README.md
+3
-1
3 additions, 1 deletion
README.md
with
4 additions
and
2 deletions
CMakeLists.txt
+
1
−
1
View file @
284155c7
...
...
@@ -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"
O
N
)
option
(
BUILD_PYTHON_INTERFACE
"Build the python bindings"
O
FF
)
option
(
INSTALL_PYTHON_INTERFACE_ONLY
"Install *ONLY* the python bindings"
OFF
)
option
(
SUFFIX_SO_VERSION
"Suffix library name with its version"
ON
)
...
...
This diff is collapsed.
Click to expand it.
README.md
+
3
−
1
View file @
284155c7
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment