File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11#------------------------------------------------------
22# Build type
33#------------------------------------------------------
4- set (CMAKE_CONFIGURATION_TYPES "Debug;Release" CACHE STRING "Configs" FORCE )
4+ set (CMAKE_CONFIGURATION_TYPES "Debug;Release;RelWithDebInfo;MinSizeRel " CACHE STRING "Configs" FORCE )
55if (DEFINED CMAKE_BUILD_TYPE )
66 SET_PROPERTY (CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS ${CMAKE_CONFIGURATION_TYPES} )
77endif ()
@@ -26,7 +26,7 @@ option(WARNINGS_ANSI_ISO "Issue all the mandatory diagnostics Listed in C sta
2626set (USE_MATCHCOMPILER "Auto" CACHE STRING "Usage of match compliler" )
2727set_property (CACHE USE_MATCHCOMPILER PROPERTY STRINGS Auto Off On Verify )
2828if (USE_MATCHCOMPILER STREQUAL "Auto" )
29- if (CMAKE_BUILD_TYPE STREQUAL "Release " )
29+ if (NOT CMAKE_BUILD_TYPE STREQUAL "Debug " )
3030 set (USE_MATCHCOMPILER_OPT "On" )
3131 else ()
3232 set (USE_MATCHCOMPILER_OPT "Off" )
You can’t perform that action at this time.
0 commit comments