File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ include(FeatureSummary)
5
5
include (CheckCXXCompilerFlag)
6
6
7
7
if (NOT DEFINED CMAKE_BUILD_TYPE )
8
- set (CMAKE_BUILD_TYPE "Release " CACHE STRING "Choose the type of build, options are: Debug Release RelWithDebInfo" FORCE)
8
+ set (CMAKE_BUILD_TYPE "RelWithDebInfo " CACHE STRING "Choose the type of build, options are: Debug Release RelWithDebInfo" FORCE)
9
9
endif ()
10
10
11
11
project (VanillaConquer C CXX)
Original file line number Diff line number Diff line change 108
108
"cacheVariables" : {
109
109
"CMAKE_CXX_FLAGS_DEBUG" : " -g3 -Og" ,
110
110
"CMAKE_C_FLAGS_DEBUG" : " -g3 -Og" ,
111
- "CMAKE_CXX_FLAGS_RELEASE" : " -O3 -g3 -DNDEBUG" ,
112
- "CMAKE_C_FLAGS_RELEASE" : " -O3 -g3 -DNDEBUG" ,
111
+ "CMAKE_CXX_FLAGS_RELEASE" : " -O2 -g3 -DNDEBUG" ,
112
+ "CMAKE_C_FLAGS_RELEASE" : " -O2 -g3 -DNDEBUG" ,
113
113
"VC_CXX_FLAGS" : " -w;-Wwrite-strings;-Werror=write-strings" ,
114
114
"MAP_EDITORTD" : " ON" ,
115
115
"MAP_EDITORRA" : " ON" ,
174
174
"cacheVariables" : {
175
175
"CMAKE_CXX_FLAGS_DEBUG" : " -g -Og" ,
176
176
"CMAKE_C_FLAGS_DEBUG" : " -g -Og" ,
177
- "CMAKE_CXX_FLAGS_RELEASE" : " -O3 -g -DNDEBUG" ,
178
- "CMAKE_C_FLAGS_RELEASE" : " -O3 -g -DNDEBUG" ,
177
+ "CMAKE_CXX_FLAGS_RELEASE" : " -O2 -g -DNDEBUG" ,
178
+ "CMAKE_C_FLAGS_RELEASE" : " -O2 -g -DNDEBUG" ,
179
179
"CMAKE_EXE_LINKER_FLAGS" : " -static-libstdc++ -static-libgcc" ,
180
180
"CMAKE_SHARESD_LINKER_FLAGS" : " -static-libstdc++ -static-libgcc" ,
181
181
"VC_CXX_FLAGS" : " -w;-Wwrite-strings;-Werror=write-strings" ,
You can’t perform that action at this time.
0 commit comments