diff options
author | Philippe Proulx <eeppeliteloop@gmail.com> | 2016-02-29 17:35:27 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-03-07 16:46:49 (GMT) |
commit | a4194debea02e723d21f6db83a4528254d885f13 (patch) | |
tree | 6d92613e721761c15da6fd23fa899339e68e2af5 /Tests/FindLTTngUST/CMakeLists.txt | |
parent | 8256d021c8324779c7269658a094848ebeafb82e (diff) | |
download | CMake-a4194debea02e723d21f6db83a4528254d885f13.zip CMake-a4194debea02e723d21f6db83a4528254d885f13.tar.gz CMake-a4194debea02e723d21f6db83a4528254d885f13.tar.bz2 |
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>
Diffstat (limited to 'Tests/FindLTTngUST/CMakeLists.txt')
-rw-r--r-- | Tests/FindLTTngUST/CMakeLists.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/FindLTTngUST/CMakeLists.txt b/Tests/FindLTTngUST/CMakeLists.txt new file mode 100644 index 0000000..c9c471d --- /dev/null +++ b/Tests/FindLTTngUST/CMakeLists.txt @@ -0,0 +1,10 @@ +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> + ) |