1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-22 10:22:52 +01:00
openrw/cmake/ctest/configure_linux.ctest
2018-09-16 00:52:41 +02:00

28 lines
581 B
Plaintext

set(CMAKE_GENERATOR "Unix Makefiles")
if($ENV{DEBUG})
set(DEBUG "$ENV{DEBUG}")
else()
set(DEBUG FALSE)
endif()
set(CONFIGURE_EXTRA_OPTIONS ";")
include(ProcessorCount)
ProcessorCount(CORES_COUNT)
set(BUILD_EXTRA_FLAGS "")
if(NOT CORES_COUNT EQUAL 0)
list(APPEND BUILD_EXTRA_FLAGS "-j${CORES_COUNT}")
endif()
set(BUILD_TOOLS TRUE)
set(BUILD_VIEWER TRUE)
set(COVERAGE_COMMAND gcov)
set(CHECK_IWYU FALSE)
set(ENABLE_SANITIZERS "address")
if(MODEL_NAME STREQUAL "EXPERIMENTAL")
set(CHECK_IWYU FALSE)
else()
set(CHECK_IWYU FALSE)
endif()
set(CONAN_ARCH "x86_64")