initialize cmake's CMAKE_BUILD_TYPE to 'Release'

add reference to cmake cache for convenience GNUMakefile
This commit is contained in:
Campbell Barton
2011-06-27 13:18:08 +00:00
parent 4dd18f7e6f
commit a961d62653
2 changed files with 5 additions and 1 deletions

View File

@@ -57,6 +57,9 @@ endif()
# this starts out unset
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/build_files/cmake/Modules")
# avoid having empty buildtype
set(CMAKE_BUILD_TYPE_INIT "Release")
# quiet output for Makefiles, 'make -s' helps too
# set_property(GLOBAL PROPERTY RULE_MESSAGES OFF)