CMake/Tests/FindProtobuf/CMakeLists.txt
2017-05-18 13:57:01 +02:00

11 lines
363 B
CMake

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