diff --git a/reactos/CMakeLists.txt b/reactos/CMakeLists.txt index 59d6c4c5542..b8fc1cff740 100644 --- a/reactos/CMakeLists.txt +++ b/reactos/CMakeLists.txt @@ -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