[CMAKE] Set "Debug" as the default build type globally.

svn path=/trunk/; revision=67685
This commit is contained in:
Amine Khaldi
2015-05-12 11:35:19 +00:00
parent 78eb5f5154
commit 75b42e9678
+4 -4
View File
@@ -46,6 +46,10 @@ endif()
# for more information.
string(TOLOWER ${ARCH} ARCH)
# Default to Debug for the build type
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)
# Compile options
if(ARCH STREQUAL "i386")
include(cmake/config.cmake)
@@ -102,10 +106,6 @@ else()
#useful stuff!
include(CMakeParseArguments)
# Default to Debug for the build type
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)
# Do some cleanup
file(REMOVE
${REACTOS_BINARY_DIR}/dependencies.graphml