Допустимые варианты компиляции
This commit is contained in:
parent
2e6d4eb2c1
commit
4982b47b4b
@ -6,7 +6,7 @@ if(CMAKE_CONFIGURATION_TYPES)
|
|||||||
list(APPEND CMAKE_CONFIGURATION_TYPES Profile)
|
list(APPEND CMAKE_CONFIGURATION_TYPES Profile)
|
||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
set(_allowed_build_types None Debug Release Profile)
|
set(_allowed_build_types None Debug Release Profile RelWithDebInfo MinSizeRel)
|
||||||
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS ${_allowed_build_types})
|
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS ${_allowed_build_types})
|
||||||
if(NOT CMAKE_BUILD_TYPE)
|
if(NOT CMAKE_BUILD_TYPE)
|
||||||
set(CMAKE_BUILD_TYPE Debug CACHE STRING "" FORCE)
|
set(CMAKE_BUILD_TYPE Debug CACHE STRING "" FORCE)
|
||||||
|
Loading…
Reference in New Issue
Block a user