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
517 B

foreach(lang IN ITEMS C CXX Fortran)
if(CMake_TEST_FindOpenACC_${lang})
add_test(NAME FindOpenACC.Test${lang} COMMAND
${CMAKE_CTEST_COMMAND} -C $<CONFIGURATION>
--build-and-test
"${CMake_SOURCE_DIR}/Tests/FindOpenACC/${lang}Test"
"${CMake_BINARY_DIR}/Tests/FindOpenACC/${lang}Test"
${build_generator_args}
--build-project TestFindOpenACC
--build-options ${build_options}
--test-command ${CMAKE_CTEST_COMMAND} -V -C $<CONFIGURATION>
)
endif()
endforeach()