summaryrefslogtreecommitdiffstats
path: root/Tests/FindGit/CMakeLists.txt
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2019-01-11 17:01:10 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2019-01-21 15:01:56 (GMT)
commit97700e9f5b17b1631f6bfef4fec62dad88dc9319 (patch)
tree6b1490f141ce798987497712f5b498d3e137dea3 /Tests/FindGit/CMakeLists.txt
parent02f7e997e939dbd0c753514edcd580083cebd37c (diff)
downloadCMake-97700e9f5b17b1631f6bfef4fec62dad88dc9319.zip
CMake-97700e9f5b17b1631f6bfef4fec62dad88dc9319.tar.gz
CMake-97700e9f5b17b1631f6bfef4fec62dad88dc9319.tar.bz2
FindGit: Add imported target
Diffstat (limited to 'Tests/FindGit/CMakeLists.txt')
-rw-r--r--Tests/FindGit/CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/FindGit/CMakeLists.txt b/Tests/FindGit/CMakeLists.txt
new file mode 100644
index 0000000..5d061f4
--- /dev/null
+++ b/Tests/FindGit/CMakeLists.txt
@@ -0,0 +1,10 @@
+add_test(NAME FindGit.Test COMMAND
+ ${CMAKE_CTEST_COMMAND} -C $<CONFIGURATION>
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/FindGit/Test"
+ "${CMake_BINARY_DIR}/Tests/FindGit/Test"
+ ${build_generator_args}
+ --build-project TestFindGit
+ --build-options ${build_options}
+ --test-command ${CMAKE_CTEST_COMMAND} -V -C $<CONFIGURATION>
+ )