CMake/Tests/FindLTTngUST/CMakeLists.txt
Philippe Proulx a4194debea Add FindLTTngUST module to find LTTng-UST library
Also detect the library version number.  Provide results as variables
and as an imported target, LTTng::UST.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
2016-03-07 11:46:49 -05:00

11 lines
363 B
CMake

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