summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/CMP0037/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-11-05 17:32:30 +0100
committerStephen Kelly <steveire@gmail.com>2013-11-07 11:06:39 +0100
commit05f5fde0eb83c0e49aab3214f28a098861aa3313 (patch)
treebf2a838e3b1489805abed701703df62224572702 /Tests/RunCMake/CMP0037/RunCMakeTest.cmake
parent18985f6c2926725b08f5941205fe21c344c4b3ea (diff)
downloadcmake-05f5fde0eb83c0e49aab3214f28a098861aa3313.tar.gz
Disallow invalid target names (#13140)
Exclude Borland and NMake from the CMP0037 test. They do not accept the colon in a target name.
Diffstat (limited to 'Tests/RunCMake/CMP0037/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/CMP0037/RunCMakeTest.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0037/RunCMakeTest.cmake b/Tests/RunCMake/CMP0037/RunCMakeTest.cmake
new file mode 100644
index 0000000000..e983526904
--- /dev/null
+++ b/Tests/RunCMake/CMP0037/RunCMakeTest.cmake
@@ -0,0 +1,5 @@
+include(RunCMake)
+
+run_cmake(CMP0037-NEW)
+run_cmake(CMP0037-OLD)
+run_cmake(CMP0037-WARN)