Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Gepetto
example-robot-data
Commits
da05e006
Commit
da05e006
authored
Oct 29, 2019
by
Guilhem Saurel
Browse files
[CMake] sync submodule
parent
ff7b55a7
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
da05e006
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8
)
INCLUDE
(
cmake/base.cmake
)
INCLUDE
(
cmake/test.cmake
)
INCLUDE
(
cmake/python.cmake
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 3.0
)
# Set up project properties
SET
(
PROJECT_NAMESPACE gepetto
)
...
...
@@ -10,6 +6,10 @@ SET(PROJECT_NAME example-robot-data)
SET
(
PROJECT_DESCRIPTION
"Set of robot URDFs for benchmarking and developed examples."
)
SET
(
PROJECT_URL https://gepgitlab.laas.fr/
${
PROJECT_NAMESPACE
}
/
${
PROJECT_NAME
}
)
INCLUDE
(
cmake/base.cmake
)
INCLUDE
(
cmake/test.cmake
)
INCLUDE
(
cmake/python.cmake
)
# Print initial message
MESSAGE
(
"
${
PROJECT_DESCRIPTION
}
, version
${
PROJECT_VERSION
}
"
)
MESSAGE
(
"Copyright (C) 2018-2019 CNRS-LAAS"
)
...
...
@@ -24,7 +24,9 @@ IF(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
SET_PROPERTY
(
CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS
"Debug"
"Release"
"MinSizeRel"
"RelWithDebInfo"
)
ENDIF
()
SETUP_PROJECT
()
CMAKE_POLICY
(
SET CMP0048 NEW
)
PROJECT
(
${
PROJECT_NAME
}
VERSION
${
PROJECT_VERSION_FULL
}
LANGUAGES CXX
)
OPTION
(
BUILD_PYTHON_INTERFACE
"Build the python unit tests and helpers"
ON
)
OPTION
(
INSTALL_PYTHON_INTERFACE_ONLY
"Install *ONLY* the python interface"
OFF
)
...
...
@@ -47,5 +49,3 @@ IF(NOT INSTALL_PYTHON_INTERFACE_ONLY)
INSTALL
(
DIRECTORY tiago_description DESTINATION share/
${
PROJECT_NAME
}
)
INSTALL
(
DIRECTORY ur_description DESTINATION share/
${
PROJECT_NAME
}
)
ENDIF
(
NOT INSTALL_PYTHON_INTERFACE_ONLY
)
SETUP_PROJECT_FINALIZE
()
cmake
@
e6e09c0b
Compare
429af97f
...
e6e09c0b
Subproject commit
429af97fe0b858bd73a1747768cc1ac73538614
0
Subproject commit
e6e09c0b944530c92c17c4fb64cd2a2f63ed46c
0
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment