CMake/Tests/FindBZip2/CMakeLists.txt

11 lines
351 B
CMake
Raw Normal View History

2016-09-08 23:28:17 +03:00
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>
)