summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0055/CMP0055-NEW-Reject-Arguments.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-11-26 18:50:47 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-11-26 18:50:47 (GMT)
commit82582c96bd86969ee5e1cc6f7bc4e5b12e1717e1 (patch)
tree3b47d49ccd16f09b7281f16600d553ea8b44b630 /Tests/RunCMake/CMP0055/CMP0055-NEW-Reject-Arguments.cmake
parent106c769f1d46a2410ff62c3dd4cd02cd1da7fd37 (diff)
parentd54617d0068fc5acfa2079d1e8de8f38365564ab (diff)
downloadCMake-82582c96bd86969ee5e1cc6f7bc4e5b12e1717e1.zip
CMake-82582c96bd86969ee5e1cc6f7bc4e5b12e1717e1.tar.gz
CMake-82582c96bd86969ee5e1cc6f7bc4e5b12e1717e1.tar.bz2
Merge topic 'break-command-strictness'
d54617d0 break: Add policy CMP0055 to check calls strictly bae604d9 Track nested loop levels in CMake language with a stack of counters
Diffstat (limited to 'Tests/RunCMake/CMP0055/CMP0055-NEW-Reject-Arguments.cmake')
-rw-r--r--Tests/RunCMake/CMP0055/CMP0055-NEW-Reject-Arguments.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0055/CMP0055-NEW-Reject-Arguments.cmake b/Tests/RunCMake/CMP0055/CMP0055-NEW-Reject-Arguments.cmake
new file mode 100644
index 0000000..52eaa6a
--- /dev/null
+++ b/Tests/RunCMake/CMP0055/CMP0055-NEW-Reject-Arguments.cmake
@@ -0,0 +1,6 @@
+
+cmake_policy(SET CMP0055 NEW)
+
+foreach(i RANGE 1 2)
+ break(1)
+endforeach() \ No newline at end of file