mirror of
https://github.com/reactos/CMake.git
synced 2024-11-29 06:20:23 +00:00
a4194debea
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>
11 lines
363 B
CMake
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>
|
|
)
|