sanitize on debug by default
This commit is contained in:
@ -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 "")
|
||||
|
Reference in New Issue
Block a user