projects
/
profile
/
ivi
/
layer-management.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72d5b5e
)
default build type is now Release.
author
Timo Lotterbach
<timo.lotterbach@bmw-carit.de>
Mon, 5 Dec 2011 13:37:08 +0000
(14:37 +0100)
committer
Timo Lotterbach
<timo.lotterbach@bmw-carit.de>
Mon, 5 Dec 2011 13:37:08 +0000
(14:37 +0100)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
11644f6
..
79ed0b4
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-41,6
+41,14
@@
message(STATUS
"Build for Version ${VERSION} build ${ILM_VERSION}"
)
+# set default build type, if not defined by user
+if (NOT CMAKE_BUILD_TYPE)
+ set(CMAKE_BUILD_TYPE Release CACHE STRING
+ "Choose build type: Debug, Release, RelWithDebInfo, MinSizeRel."
+ FORCE)
+ message(STATUS "Build type not defined. Using default build type 'Release'.")
+endif (NOT CMAKE_BUILD_TYPE)
+
##################### RPM CONFIG ########################
set(GENIVI_RPM_RELEASE "1${ILM_VERSION}")