You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
482 B
15 lines
482 B
2 years ago
|
|
||
|
include(RunCMake)
|
||
|
|
||
|
run_cmake(WrongArguments)
|
||
|
|
||
|
function(check_path_execution name)
|
||
|
set(RunCMake_TEST_BINARY_DIR ${RunCMake_BINARY_DIR}/${name}-build)
|
||
|
set(RunCMake_TEST_NO_CLEAN 1)
|
||
|
set(RunCMake_TEST_VARIANT_DESCRIPTION " - ${name}")
|
||
|
run_cmake_with_options(generate -DPATH_TEST=${name})
|
||
|
run_cmake_command(check "${CMAKE_COMMAND}" "-DRunCMake_SOURCE_DIR=${RunCMake_SOURCE_DIR}" -P "${RunCMake_TEST_BINARY_DIR}/${name}.cmake")
|
||
|
endfunction()
|
||
|
|
||
|
check_path_execution (PATH_EQUAL)
|