blob: aa9499bd809dd8adcb038a73417e4c4ed76a562d (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
foreach (_lang IN ITEMS C CXX)
add_test(NAME FindThreads.${_lang}-only COMMAND ${CMAKE_CTEST_COMMAND}
--build-and-test
"${CMake_SOURCE_DIR}/Tests/FindThreads/${_lang}-only"
"${CMake_BINARY_DIR}/Tests/FindThreads/${_lang}-only"
${build_generator_args}
--build-project FindThreads_${_lang}-only
--build-options ${build_options}
--test-command ${CMAKE_CTEST_COMMAND} -V
)
endforeach ()
|