summaryrefslogtreecommitdiffstats
path: root/Tests/FindBZip2/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-09-12 13:31:41 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-09-12 13:31:41 (GMT)
commitb3b238c3cc8cfd1f320faf0233ae860dcfcbfda0 (patch)
treeb8ba123a683a9d53e016cff9fe82af86c6198cba /Tests/FindBZip2/CMakeLists.txt
parenta3aaf0a1815c99bed1acf4578c3aef34d6ef3cdc (diff)
parent79eba4b7abf940501a5b2060e8aaa3048d743652 (diff)
downloadCMake-b3b238c3cc8cfd1f320faf0233ae860dcfcbfda0.zip
CMake-b3b238c3cc8cfd1f320faf0233ae860dcfcbfda0.tar.gz
CMake-b3b238c3cc8cfd1f320faf0233ae860dcfcbfda0.tar.bz2
Merge topic 'bzip2-imported-targets'
79eba4b7 Help: Add notes for topic 'bzip2-imported-targets' 069cac58 Tests: Add FindBZip2 unit tests e9ce0503 FindBZip2: Add imported target
Diffstat (limited to 'Tests/FindBZip2/CMakeLists.txt')
-rw-r--r--Tests/FindBZip2/CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/FindBZip2/CMakeLists.txt b/Tests/FindBZip2/CMakeLists.txt
new file mode 100644
index 0000000..0eb3b99
--- /dev/null
+++ b/Tests/FindBZip2/CMakeLists.txt
@@ -0,0 +1,10 @@
+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>
+ )