From 75b42e9678e0950ca950b4b6d3b2016ed9827f40 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Tue, 12 May 2015 11:35:19 +0000 Subject: [PATCH] [CMAKE] Set "Debug" as the default build type globally. svn path=/trunk/; revision=67685 --- reactos/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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