If not specified create a debug build

This commit is contained in:
Bradley Clemetson 2015-08-10 23:22:09 -07:00
parent 2d20c5c801
commit 567378ad50
1 changed files with 5 additions and 0 deletions

View File

@ -1,4 +1,9 @@
cmake_minimum_required(VERSION 3.0)
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "Debug" CACHE STRING "Choose the type of build, options are: Debug Release RelWithDebInfo MinSizeRel." FORCE)
endif(NOT CMAKE_BUILD_TYPE)
#yquake cmake configuration
project (yquake2)