mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-24 15:38:54 -06:00
Evaluate generator expressions in these properties, as they apply to `add_test`, `add_custom_command`, and `add_custom_target`. The `CMAKE_CROSSCOMPILING_EMULATOR` variable's `try_run` behavior occurs at configure time and so cannot support generator expressions.
7 lines
256 B
CMake
7 lines
256 B
CMake
foreach(output IN ITEMS output1 output2 output3 output4 output5)
|
|
if(NOT EXISTS "${RunCMake_TEST_BINARY_DIR}/${output}")
|
|
set(RunCMake_TEST_FAILED "Failed to create output:\n ${RunCMake_TEST_BINARY_DIR}/${output}")
|
|
return()
|
|
endif()
|
|
endforeach()
|