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
06995d18
Unverified
Commit
06995d18
authored
Oct 10, 2019
by
Justin Carpentier
Committed by
GitHub
Oct 10, 2019
Browse files
Merge pull request #907 from jcarpent/devel
Update CMakeLists.txt to follow new CMake policy
parents
380fdefb
de931907
Changes
2
Show whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
06995d18
...
...
@@ -5,33 +5,32 @@
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.6
)
SET
(
PROJECT_NAME pinocchio
)
SET
(
PROJECT_DESCRIPTION
"A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives"
)
SET
(
PROJECT_URL
"http://github.com/stack-of-tasks/pinocchio"
)
SET
(
PROJECT_CUSTOM_HEADER_EXTENSION
"hpp"
)
# Disable -Werror on Unix for now.
SET
(
CXX_DISABLE_WERROR True
)
SET
(
CMAKE_VERBOSE_MAKEFILE True
)
INCLUDE
(
cmake/base.cmake
)
PROJECT
(
${
PROJECT_NAME
}
CXX
)
# Check if the submodule cmake have been initialized
IF
(
NOT EXISTS
"
${
PROJECT_SOURCE_DIR
}
/cmake/base.cmake"
)
MESSAGE
(
FATAL_ERROR
"
\n
Please run the following command first:
\n
git submodule update --init
\n
"
)
ENDIF
()
INCLUDE
(
cmake/base.cmake
)
INCLUDE
(
cmake/boost.cmake
)
INCLUDE
(
cmake/python.cmake
)
INCLUDE
(
cmake/ide.cmake
)
INCLUDE
(
cmake/apple.cmake
)
SET
(
PROJECT_NAME pinocchio
)
SET
(
PROJECT_DESCRIPTION
"A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives"
)
SET
(
PROJECT_URL
"http://github.com/stack-of-tasks/pinocchio"
)
SET
(
PROJECT_CUSTOM_HEADER_EXTENSION
"hpp"
)
SET
(
DOXYGEN_USE_MATHJAX YES
)
# If needed, fix CMake policy for APPLE systems
APPLY_DEFAULT_APPLE_CONFIGURATION
()
# Disable -Werror on Unix for now.
SET
(
CXX_DISABLE_WERROR True
)
SET
(
CMAKE_VERBOSE_MAKEFILE True
)
SETUP_PROJECT
()
IF
(
WIN32
)
SET
(
LINK copy_if_different
)
ELSE
(
WIN32
)
...
...
@@ -278,5 +277,3 @@ PKG_CONFIG_APPEND_BOOST_LIBS(${BOOST_REQUIERED_COMPONENTS})
FOREACH
(
cflags
${
CFLAGS_DEPENDENCIES
}
)
PKG_CONFIG_APPEND_CFLAGS
(
${
cflags
}
)
ENDFOREACH
(
cflags
${
CFLAGS_DEPENDENCIES
}
)
SETUP_PROJECT_FINALIZE
()
cmake
@
62435ea7
Compare
429af97f
...
62435ea7
Subproject commit
429af97fe0b858bd73a1747768cc1ac735386140
Subproject commit
62435ea723f779cd2217555a00e695df2c54453f
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