summaryrefslogtreecommitdiffstats
path: root/Tests/FindCups/CMakeLists.txt
diff options
context:
space:
mode:
authorPatrick Gansterer <paroga@paroga.com>2019-02-05 05:51:20 (GMT)
committerBrad King <brad.king@kitware.com>2019-02-06 16:20:57 (GMT)
commitdd45f23b0142fb92de17458dd69b2b6f967f94bd (patch)
tree7154ac3c3a25cc991489ba32ac9299f99cc3deee /Tests/FindCups/CMakeLists.txt
parent062cfd991faac000d484c74e5af7d65726c655dc (diff)
downloadCMake-dd45f23b0142fb92de17458dd69b2b6f967f94bd.zip
CMake-dd45f23b0142fb92de17458dd69b2b6f967f94bd.tar.gz
CMake-dd45f23b0142fb92de17458dd69b2b6f967f94bd.tar.bz2
FindCups: add imported target
Diffstat (limited to 'Tests/FindCups/CMakeLists.txt')
-rw-r--r--Tests/FindCups/CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/FindCups/CMakeLists.txt b/Tests/FindCups/CMakeLists.txt
new file mode 100644
index 0000000..5be1ac1
--- /dev/null
+++ b/Tests/FindCups/CMakeLists.txt
@@ -0,0 +1,10 @@
+add_test(NAME FindCups.Test COMMAND
+ ${CMAKE_CTEST_COMMAND} -C $<CONFIGURATION>
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/FindCups/Test"
+ "${CMake_BINARY_DIR}/Tests/FindCups/Test"
+ ${build_generator_args}
+ --build-project FindCups
+ --build-options ${build_options}
+ --test-command ${CMAKE_CTEST_COMMAND} -V -C $<CONFIGURATION>
+ )