summaryrefslogtreecommitdiffstats
path: root/Tests/FindGDAL/CMakeLists.txt
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2018-10-31 18:47:56 (GMT)
committerBrad King <brad.king@kitware.com>2018-11-01 17:16:37 (GMT)
commit525ff0c3bc1f625756337c2ae724a58ec93ba4d1 (patch)
tree4df820d742c298da1f29392add49bb09e0451625 /Tests/FindGDAL/CMakeLists.txt
parent87324b9b6a1f29a25c96149e165e99bebe750ef5 (diff)
downloadCMake-525ff0c3bc1f625756337c2ae724a58ec93ba4d1.zip
CMake-525ff0c3bc1f625756337c2ae724a58ec93ba4d1.tar.gz
CMake-525ff0c3bc1f625756337c2ae724a58ec93ba4d1.tar.bz2
Tests/FindGDAL: add a test for FindGDAL
Diffstat (limited to 'Tests/FindGDAL/CMakeLists.txt')
-rw-r--r--Tests/FindGDAL/CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/FindGDAL/CMakeLists.txt b/Tests/FindGDAL/CMakeLists.txt
new file mode 100644
index 0000000..12f95e1
--- /dev/null
+++ b/Tests/FindGDAL/CMakeLists.txt
@@ -0,0 +1,10 @@
+add_test(NAME FindGDAL.Test COMMAND
+ ${CMAKE_CTEST_COMMAND} -C $<CONFIGURATION>
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/FindGDAL/Test"
+ "${CMake_BINARY_DIR}/Tests/FindGDAL/Test"
+ ${build_generator_args}
+ --build-project TestFindGDAL
+ --build-options ${build_options}
+ --test-command ${CMAKE_CTEST_COMMAND} -V -C $<CONFIGURATION>
+ )