В режиме отладки по умолчанию включены предкомпилированные заголовки
This commit is contained in:
parent
5708fcd5e4
commit
a2ae14a6e8
@ -1,6 +1,10 @@
|
|||||||
include(cotire OPTIONAL)
|
include(cotire OPTIONAL)
|
||||||
|
|
||||||
if(COMMAND cotire)
|
if(COMMAND cotire)
|
||||||
|
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||||
|
option(CMLIB_COTIRE_ENABLE_PRECOMPILED_HEADER "Enable precompiled headers" ON)
|
||||||
|
else()
|
||||||
option(CMLIB_COTIRE_ENABLE_PRECOMPILED_HEADER "Enable precompiled headers" OFF)
|
option(CMLIB_COTIRE_ENABLE_PRECOMPILED_HEADER "Enable precompiled headers" OFF)
|
||||||
|
endif()
|
||||||
option(CMLIB_COTIRE_ADD_UNITY_BUILD "Enable unity build" OFF)
|
option(CMLIB_COTIRE_ADD_UNITY_BUILD "Enable unity build" OFF)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user