summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/ctest_build/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorZack Galbreath <zack.galbreath@kitware.com>2015-02-17 18:41:40 (GMT)
committerBrad King <brad.king@kitware.com>2015-02-23 15:01:59 (GMT)
commit49ba4545c272f5bb00828dfe35e5a63749b4aa43 (patch)
tree1928e2bd3992f51fcedbe520af1f921bbc44a4b9 /Tests/RunCMake/ctest_build/RunCMakeTest.cmake
parentf999dc0bbf70dcf6167d77a1dedabefa12edaef2 (diff)
downloadCMake-49ba4545c272f5bb00828dfe35e5a63749b4aa43.zip
CMake-49ba4545c272f5bb00828dfe35e5a63749b4aa43.tar.gz
CMake-49ba4545c272f5bb00828dfe35e5a63749b4aa43.tar.bz2
ctest_build: Add QUIET option
Diffstat (limited to 'Tests/RunCMake/ctest_build/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/ctest_build/RunCMakeTest.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/RunCMake/ctest_build/RunCMakeTest.cmake b/Tests/RunCMake/ctest_build/RunCMakeTest.cmake
new file mode 100644
index 0000000..5826fe4
--- /dev/null
+++ b/Tests/RunCMake/ctest_build/RunCMakeTest.cmake
@@ -0,0 +1,10 @@
+include(RunCTest)
+
+set(CASE_CTEST_BUILD_ARGS "")
+
+function(run_ctest_build CASE_NAME)
+ set(CASE_CTEST_BUILD_ARGS "${ARGN}")
+ run_ctest(${CASE_NAME})
+endfunction()
+
+run_ctest_build(BuildQuiet QUIET)