[CMAKE] Set Debug as the default build type for MSVC builds.

svn path=/trunk/; revision=69029
This commit is contained in:
Amine Khaldi 2015-09-05 14:38:50 +00:00
parent d60b5b3bab
commit abfb19af87

View file

@ -3,6 +3,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
set(CMAKE_SYSTEM_NAME Windows)
set(CMAKE_SYSTEM_PROCESSOR i686)