mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-07 03:12:36 +01:00
cmake: CHECK_INCLUDES -> CHECK_IWYU
This commit is contained in:
parent
fa1ff787e5
commit
2bc1f560dd
@ -51,10 +51,6 @@ else()
|
||||
rwdep_wrap_find_packages()
|
||||
endif()
|
||||
|
||||
if(CHECK_INCLUDES)
|
||||
find_package(IncludeWhatYouUse REQUIRED)
|
||||
endif()
|
||||
|
||||
set(OpenGL_GL_PREFERENCE GLVND)
|
||||
find_package(OpenGL REQUIRED)
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
set(_ARGS_BOOL
|
||||
USE_CONAN
|
||||
DEBUG
|
||||
CHECK_INCLUDES
|
||||
CHECK_IWYU
|
||||
BUILD_TOOLS
|
||||
BUILD_VIEWER
|
||||
|
||||
@ -165,7 +165,7 @@ set(_CONFIGURE_OPTIONS
|
||||
"-DTESTS_NODATA=${TESTS_NODATA}"
|
||||
"-DTEST_COVERAGE=${RUN_COVERAGE}"
|
||||
"-DSEPARATE_TEST_SUITES=${SEPARATE_TEST_SUITES}"
|
||||
"-DCHECK_INCLUDES=${CHECK_INCLUDES}"
|
||||
"-DCHECK_IWYU=${CHECK_IWYU}"
|
||||
"-DCMAKE_BUILD_TYPE=${_CMAKE_BUILD_TYPE}"
|
||||
"-DENABLE_SANITIZERS=${ENABLE_SANITIZERS}"
|
||||
"-DUSE_CONAN=${USE_CONAN}"
|
||||
|
@ -8,13 +8,13 @@ set(CONFIGURE_EXTRA_OPTIONS ";")
|
||||
set(BUILD_TOOLS TRUE)
|
||||
set(BUILD_VIEWER TRUE)
|
||||
set(COVERAGE_COMMAND gcov)
|
||||
set(CHECK_INCLUDES FALSE)
|
||||
set(CHECK_IWYU FALSE)
|
||||
set(ENABLE_SANITIZERS "")
|
||||
|
||||
if(MODEL_NAME STREQUAL "EXPERIMENTAL")
|
||||
set(CHECK_INCLUDES FALSE)
|
||||
set(CHECK_IWYU FALSE)
|
||||
else()
|
||||
set(CHECK_INCLUDES FALSE)
|
||||
set(CHECK_IWYU FALSE)
|
||||
endif()
|
||||
|
||||
set(CONAN_ARCH "x86_64")
|
||||
|
@ -8,13 +8,13 @@ set(CONFIGURE_EXTRA_OPTIONS ";")
|
||||
set(BUILD_TOOLS TRUE)
|
||||
set(BUILD_VIEWER TRUE)
|
||||
set(COVERAGE_COMMAND gcov)
|
||||
set(CHECK_INCLUDES FALSE)
|
||||
set(CHECK_IWYU FALSE)
|
||||
set(ENABLE_SANITIZERS "address")
|
||||
|
||||
if(MODEL_NAME STREQUAL "EXPERIMENTAL")
|
||||
set(CHECK_INCLUDES FALSE)
|
||||
set(CHECK_IWYU FALSE)
|
||||
else()
|
||||
set(CHECK_INCLUDES FALSE)
|
||||
set(CHECK_IWYU FALSE)
|
||||
endif()
|
||||
|
||||
set(CONAN_ARCH "x86_64")
|
||||
|
@ -37,5 +37,5 @@ set(CONAN_ARCH "x86_64")
|
||||
set(BUILD_TOOLS TRUE)
|
||||
set(BUILD_VIEWER TRUE)
|
||||
set(COVERAGE_COMMAND "echo") #FIXME: ENABLE
|
||||
set(CHECK_INCLUDES FALSE) #FIXME: ENABLE
|
||||
set(CHECK_IWYU FALSE) #FIXME: ENABLE
|
||||
set(ENABLE_SANITIZERS "")
|
||||
|
Loading…
Reference in New Issue
Block a user