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
d4c0ffcb
Verified
Commit
d4c0ffcb
authored
Nov 07, 2018
by
Justin Carpentier
Browse files
cmake: add option to enable PINOCCHIO_DISABLE_DEPRECATED_MACRO_WARNING
parent
d5b50fb5
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
d4c0ffcb
...
...
@@ -64,6 +64,7 @@ OPTION (INITIALIZE_WITH_NAN "Initialize Eigen entries with NaN" OFF)
OPTION
(
BUILD_PYTHON_INTERFACE
"Build the python binding"
ON
)
OPTION
(
BUILD_WITH_LUA_SUPPORT
"Build the lua parser"
OFF
)
OPTION
(
BUILD_WITH_COMMIT_VERSION
"Build libraries by setting specific commit version"
OFF
)
OPTION
(
DISABLE_DEPRECATED_MACRO_WARNING
"Disable warnings related to deprecated macro"
OFF
)
IF
(
INITIALIZE_WITH_NAN
)
MESSAGE
(
STATUS
"Initialize with NaN all the Eigen entries."
)
...
...
@@ -80,6 +81,10 @@ MACRO(TAG_LIBRARY_VERSION target)
SET_TARGET_PROPERTIES
(
${
target
}
PROPERTIES SOVERSION
${
PROJECT_VERSION
}
)
ENDMACRO
(
TAG_LIBRARY_VERSION
)
IF
(
DISABLE_DEPRECATED_MACRO_WARNING
)
ADD_DEFINITIONS
(
-DPINOCCHIO_DISABLE_DEPRECATED_MACRO_WARNING
)
ENDIF
(
DISABLE_DEPRECATED_MACRO_WARNING
)
# ----------------------------------------------------
# --- DEPENDANCIES -----------------------------------
# ----------------------------------------------------
...
...
Write
Preview
Markdown
is supported
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