* Make CMAKE_BUILD_TYPE default to Debug for all our builds.
authorAmine Khaldi <amine.khaldi@reactos.org>
Fri, 21 Sep 2012 14:29:02 +0000 (14:29 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Fri, 21 Sep 2012 14:29:02 +0000 (14:29 +0000)
svn path=/trunk/; revision=57356

reactos/cmake/config.cmake

index 3c28265..bded7e2 100644 (file)
@@ -52,6 +52,9 @@ else()
 "Whether to compile with the KD protocol.")
 endif()
 
+set(CMAKE_BUILD_TYPE "Debug" CACHE STRING 
+"Choose the type of build, options are: None(CMAKE_CXX_FLAGS or CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel." FORCE)
+
 set(_ELF_ FALSE CACHE BOOL
 "Whether to compile support for ELF files.
 Do not enable unless you know what you're doing.")