1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-07 11:22:45 +01:00
openrw/cmake/ctest/configure_linux.ctest
Filip Gawin ec92476818 Add sanitizers
Leak sanitizer - tracks leaks.

Address sanitizer - like above and
prohibiteted operations on memory.

Thread sanitizer - tracks data races.

Undefined behaviour - like name says. ;)
2018-06-08 09:35:31 +02:00

14 lines
312 B
Plaintext

set(CMAKE_GENERATOR "Unix Makefiles")
set(DEBUG FALSE)
set(CONFIGURE_EXTRA_OPTIONS ";")
set(BUILD_VIEWER TRUE)
set(COVERAGE_COMMAND gcov)
set(CHECK_INCLUDES FALSE)
set(ENABLE_SANITIZERS "address")
if(MODEL_NAME STREQUAL "EXPERIMENTAL")
set(CHECK_INCLUDES FALSE)
else()
set(CHECK_INCLUDES FALSE)
endif()