Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
parametric-curves
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
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
Guilhem Saurel
parametric-curves
Commits
84505dc3
Commit
84505dc3
authored
5 years ago
by
Guilhem Saurel
Browse files
Options
Downloads
Patches
Plain Diff
[CMake] add option INSTALL_PYTHON_INTERFACE_ONLY
parent
2a30dbb0
No related branches found
Branches containing commit
Tags
naveau_online
Tags containing commit
No related merge requests found
Pipeline
#6289
passed with warnings
5 years ago
Stage: test
Changes
2
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+4
-1
4 additions, 1 deletion
CMakeLists.txt
include/parametric-curves/CMakeLists.txt
+8
-8
8 additions, 8 deletions
include/parametric-curves/CMakeLists.txt
with
12 additions
and
9 deletions
CMakeLists.txt
+
4
−
1
View file @
84505dc3
...
...
@@ -23,6 +23,7 @@ SET(BOOST_REQUIERED_COMPONENTS serialization)
SET
(
BOOST_OPTIONAL_COMPONENTS
""
)
OPTION
(
BUILD_PYTHON_INTERFACE
"Build the python binding"
ON
)
OPTION
(
INSTALL_PYTHON_INTERFACE_ONLY
"Install only the python binding"
OFF
)
IF
(
BUILD_PYTHON_INTERFACE
)
SET
(
BOOST_OPTIONAL_COMPONENTS
${
BOOST_OPTIONAL_COMPONENTS
}
python
)
FINDPYTHON
()
...
...
@@ -41,7 +42,9 @@ IF(BUILD_PYTHON_INTERFACE)
ADD_SUBDIRECTORY
(
python
)
ENDIF
(
BUILD_PYTHON_INTERFACE
)
ADD_SUBDIRECTORY
(
include/
${
PROJECT_NAME
}
)
IF
(
NOT INSTALL_PYTHON_INTERFACE_ONLY
)
ADD_SUBDIRECTORY
(
include/
${
CUSTOM_HEADER_DIR
}
)
ENDIF
(
NOT INSTALL_PYTHON_INTERFACE_ONLY
)
ADD_SUBDIRECTORY
(
src/tests/spline_test
)
ADD_CUSTOM_TARGET
(
check COMMAND
${
CMAKE_CTEST_COMMAND
}
)
...
...
This diff is collapsed.
Click to expand it.
include/parametric-curves/CMakeLists.txt
+
8
−
8
View file @
84505dc3
install
(
FILES
#
bernstein.h
#bernstein.h
abstract-curve.hpp
MathDefs.h
spline.hpp
...
...
@@ -10,22 +10,22 @@ install(FILES
linear-chirp.hpp
minimum-jerk.hpp
text-file.hpp
#
bezier_curve.h
#bezier_curve.h
curve-constraint.hpp
DESTINATION
${
CMAKE_INSTALL_PREFIX
}
/include/parametric-curves
DESTINATION
include/
${
CUSTOM_HEADER_DIR
}
)
install
(
FILES
serialization/eigen-matrix.hpp
#${CMAKE_SOURCE_DIR}/include/parametric-curves/serialization/archive.hpp
DESTINATION
${
CMAKE_INSTALL_PREFIX
}
/include/parametric-curves/serialization
#serialization/archive.hpp
#serialization/archive.hpp
DESTINATION include/
${
CUSTOM_HEADER_DIR
}
/serialization
)
install
(
FILES
spatial/force-curve.hpp
DESTINATION
${
CMAKE_INSTALL_PREFIX
}
/include/parametric-curves
/spatial
DESTINATION
include/
${
CUSTOM_HEADER_DIR
}
/spatial
)
install
(
FILES
utils/file-io.hpp
#${CMAKE_SOURCE_DIR}/include/parametric-curves/serialization/archive.hpp
DESTINATION
${
CMAKE_INSTALL_PREFIX
}
/include/parametric-curves/utils
DESTINATION include/
${
CUSTOM_HEADER_DIR
}
/utils
)
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