CMake/Tests/FindBZip2/CMakeLists.txt
2016-09-09 11:42:35 -04:00

11 lines
351 B
CMake

add_test(NAME FindBZip2.Test COMMAND
${CMAKE_CTEST_COMMAND} -C $<CONFIGURATION>
--build-and-test
"${CMake_SOURCE_DIR}/Tests/FindBZip2/Test"
"${CMake_BINARY_DIR}/Tests/FindBZip2/Test"
${build_generator_args}
--build-project TestFindBZip2
--build-options ${build_options}
--test-command ${CMAKE_CTEST_COMMAND} -V -C $<CONFIGURATION>
)