Author: akhaldi Date: Sat Sep 5 14:38:50 2015 New Revision: 69029
URL: http://svn.reactos.org/svn/reactos?rev=69029&view=rev Log: [CMAKE] Set Debug as the default build type for MSVC builds.
Modified: trunk/reactos/toolchain-msvc.cmake
Modified: trunk/reactos/toolchain-msvc.cmake URL: http://svn.reactos.org/svn/reactos/trunk/reactos/toolchain-msvc.cmake?rev=69... ============================================================================== --- trunk/reactos/toolchain-msvc.cmake [iso-8859-1] (original) +++ trunk/reactos/toolchain-msvc.cmake [iso-8859-1] Sat Sep 5 14:38:50 2015 @@ -1,6 +1,12 @@
if(NOT ARCH) set(ARCH i386) +endif() + +# Default to Debug for the build type +if(NOT DEFINED CMAKE_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.") endif()
# the name of the target operating system