2015-08-04 23:39:31 +03:00
|
|
|
include(RunCMake)
|
|
|
|
|
|
|
|
run_cmake(DoesNotExist)
|
|
|
|
run_cmake(Missing)
|
2015-11-23 18:51:37 +03:00
|
|
|
run_cmake(Function)
|
2016-08-19 22:50:48 +03:00
|
|
|
|
|
|
|
set(RunCMake_TEST_BINARY_DIR ${RunCMake_BINARY_DIR}/ExcludeFromAll-build)
|
|
|
|
set(RunCMake_TEST_NO_CLEAN 1)
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE "${RunCMake_TEST_BINARY_DIR}")
|
|
|
|
file(MAKE_DIRECTORY "${RunCMake_TEST_BINARY_DIR}")
|
|
|
|
|
|
|
|
run_cmake(ExcludeFromAll)
|
|
|
|
run_cmake_command(ExcludeFromAll-build ${CMAKE_COMMAND} --build .)
|
|
|
|
|
|
|
|
unset(RunCMake_TEST_BINARY_DIR)
|
|
|
|
unset(RunCMake_TEST_NO_CLEAN)
|