diff --git a/reactos/CMakeLists.txt b/reactos/CMakeLists.txt index 994fecf57a4..6ffb68e4181 100644 --- a/reactos/CMakeLists.txt +++ b/reactos/CMakeLists.txt @@ -91,6 +91,10 @@ else() set(CMAKE_CXX_USE_RESPONSE_FILE_FOR_INCLUDES OFF) endif() + # 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 diff --git a/reactos/cmake/config.cmake b/reactos/cmake/config.cmake index bded7e2838f..3c28265c1b2 100644 --- a/reactos/cmake/config.cmake +++ b/reactos/cmake/config.cmake @@ -52,9 +52,6 @@ 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.")