2012-03-10 01:47:19 +04:00
|
|
|
include(RunCMake)
|
2015-05-08 22:41:08 +03:00
|
|
|
unset(ENV{CMAKE_CONFIG_TYPE})
|
2012-03-10 01:47:19 +04:00
|
|
|
|
|
|
|
run_cmake(ErrorsOFF)
|
|
|
|
run_cmake(ErrorsON)
|
2013-03-13 02:12:52 +04:00
|
|
|
|
|
|
|
set(RunCMake_TEST_OPTIONS -DNoProject=1)
|
|
|
|
run_cmake(BeforeProject)
|
|
|
|
unset(RunCMake_TEST_OPTIONS)
|
2015-05-08 22:41:08 +03:00
|
|
|
|
|
|
|
run_cmake(CMP0061-NEW)
|
|
|
|
if(RunCMake_GENERATOR MATCHES "Make")
|
|
|
|
run_cmake(CMP0061-OLD-make)
|
|
|
|
else()
|
|
|
|
run_cmake(CMP0061-OLD-other)
|
|
|
|
endif()
|