sanitize on debug by default
This commit is contained in:
parent
5d6a3a5aec
commit
b4b9e0ebef
@ -13,6 +13,10 @@ if(NOT CMAKE_BUILD_TYPE)
|
||||
set(CMAKE_BUILD_TYPE Debug)
|
||||
endif()
|
||||
|
||||
if(CMAKE_BUILD_TYPE MATCHES Debug)
|
||||
set(TWN_SANITIZE ON)
|
||||
endif()
|
||||
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
|
||||
set(TWN_TARGET townengine CACHE INTERNAL "")
|
||||
|
Loading…
Reference in New Issue
Block a user