add debug option
This commit is contained in:
1 parent
daa1d9056e
commit
80a0f115af
1 file changed
+5
@@ -30,6 +30,11 @@ cmake_minimum_required(VERSION 3.16)
|
|||||||
|
|
||||||
project(c-evo-evo VERSION 0.1 LANGUAGES CXX)
|
project(c-evo-evo VERSION 0.1 LANGUAGES CXX)
|
||||||
|
|
||||||
|
if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
|
||||||
|
set(CMAKE_BUILD_TYPE Debug CACHE STRING "Build type (Debug, Release, RelWithDebInfo, MinSizeRel)" FORCE)
|
||||||
|
endif()
|
||||||
|
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release" "RelWithDebInfo" "MinSizeRel")
|
||||||
|
|
||||||
option(CEVO_WITH_APP "Build the game application (widget/media + c-evo-evo executable)" ON)
|
option(CEVO_WITH_APP "Build the game application (widget/media + c-evo-evo executable)" ON)
|
||||||
option(CEVO_WITH_AI "Build and install the bundled stdai AI plugin (turn off to rely on a third-party AI module instead)" ON)
|
option(CEVO_WITH_AI "Build and install the bundled stdai AI plugin (turn off to rely on a third-party AI module instead)" ON)
|
||||||
if(NOT CEVO_WITH_APP AND NOT CEVO_WITH_AI)
|
if(NOT CEVO_WITH_APP AND NOT CEVO_WITH_AI)
|
||||||
|
|||||||
Reference in new issue
Block a user