Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
pinocchio
Commits
7dc0d732
Verified
Commit
7dc0d732
authored
Feb 19, 2020
by
Justin Carpentier
Browse files
cmake: make optional heavy test like multiprecision
parent
8e32ef51
Changes
3
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
7dc0d732
...
...
@@ -54,6 +54,8 @@ IF(DEFINED BUILD_UNIT_TESTS)
SET
(
BUILD_TESTING
${
BUILD_UNIT_TESTS
}
)
ENDIF
(
DEFINED BUILD_UNIT_TESTS
)
OPTION
(
BUILD_ADVANCED_TESTING
"Build the advanced tests (multiprecision, etc.) of Pinocchio"
OFF
)
# --- OPTIONAL DEPENDENCIES -------------------------
OPTION
(
BUILD_WITH_URDF_SUPPORT
"Build the library with the URDF format support"
ON
)
OPTION
(
BUILD_WITH_COLLISION_SUPPORT
"Build the library with the Collision support (required HPP-FCL)"
OFF
)
...
...
examples/CMakeLists.txt
View file @
7dc0d732
...
...
@@ -34,6 +34,12 @@ SET(${PROJECT_NAME}_EXAMPLES
multiprecision
)
IF
(
BUILD_ADVANCED_TESTING
)
LIST
(
APPEND
${
PROJECT_NAME
}
_EXAMPLES
multiprecision
)
ENDIF
(
BUILD_ADVANCED_TESTING
)
IF
(
HPP_FCL_FOUND
)
LIST
(
APPEND
${
PROJECT_NAME
}
_EXAMPLES
collisions
...
...
unittest/CMakeLists.txt
View file @
7dc0d732
...
...
@@ -122,7 +122,9 @@ ADD_PINOCCHIO_UNIT_TEST(center-of-mass-derivatives)
ADD_PINOCCHIO_UNIT_TEST
(
contact-dynamics-derivatives
)
# Multiprecision arithmetic
ADD_PINOCCHIO_UNIT_TEST
(
multiprecision
)
IF
(
BUILD_ADVANCED_TESTING
)
ADD_PINOCCHIO_UNIT_TEST
(
multiprecision
)
ENDIF
(
BUILD_ADVANCED_TESTING
)
# Automatic differentiation
IF
(
BUILD_WITH_AUTODIFF_SUPPORT
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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