1 foreach(test IN ITEMS Minimal JVM AWT)
2 add_test(NAME FindJNI.${test} COMMAND
3 ${CMAKE_CTEST_COMMAND} -C $<CONFIGURATION>
5 "${CMake_SOURCE_DIR}/Tests/FindJNI/${test}"
6 "${CMake_BINARY_DIR}/Tests/FindJNI/${test}"
7 ${build_generator_args}
8 --build-project Test${test}
9 --build-options ${build_options}
10 --test-command ${CMAKE_CTEST_COMMAND} -V -C $<CONFIGURATION>