File tree Expand file tree Collapse file tree 2 files changed +1
-16
lines changed Expand file tree Collapse file tree 2 files changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -22,8 +22,7 @@ message(STATUS "CMAKE_MODULE_PATH:" ${CMAKE_MODULE_PATH})
22
22
message (STATUS "PROJECT_BINARY_DIR:" ${PROJECT_BINARY_DIR} )
23
23
message (STATUS "ENGINE_BINARY_PATH:" ${ENGINE_BINARY_PATH} )
24
24
25
- # the default behavior of build module
26
- option (DEBUG_MODE "Debug or Release?" ON )
25
+
27
26
option (BUILD_LUA_LIBS "Build lua libraries" OFF )
28
27
29
28
# include helper functions
Original file line number Diff line number Diff line change @@ -45,20 +45,6 @@ elseif(CMAKE_GENERATOR MATCHES Visual)
45
45
endif ()
46
46
message (STATUS "CMAKE_GENERATOR: ${CMAKE_GENERATOR} " )
47
47
48
- if (CMAKE_CONFIGURATION_TYPES )
49
- set (CMAKE_CONFIGURATION_TYPES "Debug;Release" CACHE STRING "Reset the configurations to what we need" FORCE )
50
- message (STATUS "CMAKE_CONFIGURATION_TYPES: ${CMAKE_CONFIGURATION_TYPES} " )
51
- else ()
52
- if (NOT CMAKE_BUILD_TYPE )
53
- if (DEBUG_MODE ) # build mode, Debug is default value
54
- set (CMAKE_BUILD_TYPE Debug )
55
- else ()
56
- set (CMAKE_BUILD_TYPE Release )
57
- endif ()
58
- endif ()
59
- message (STATUS "CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE} " )
60
- endif ()
61
-
62
48
# custom target property for lua/js link
63
49
define_property (TARGET
64
50
PROPERTY CC_JS_DEPEND
You can’t perform that action at this time.
0 commit comments