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
6c0aa579
Commit
6c0aa579
authored
Aug 28, 2019
by
Guilhem Saurel
Browse files
[CMake] Remove default CMAKE_BUILD_TYPE
parent
7a17943c
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
6c0aa579
...
...
@@ -16,14 +16,6 @@ MESSAGE("Copyright (C) 2018-2019 CNRS-LAAS")
MESSAGE
(
"All rights reserved."
)
MESSAGE
(
"Released under the BSD 3-Clause License."
)
# Set a default build type to 'Release' if none was specified
IF
(
NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES
)
MESSAGE
(
STATUS
"Setting build type to 'Release' as none was specified."
)
SET
(
CMAKE_BUILD_TYPE Release CACHE STRING
"Choose the type of build."
FORCE
)
# Set the possible values of build type for cmake-gui
SET_PROPERTY
(
CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS
"Debug"
"Release"
"MinSizeRel"
"RelWithDebInfo"
)
ENDIF
()
SETUP_PROJECT
()
OPTION
(
INSTALL_DATA
"Install the data"
ON
)
...
...
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