summaryrefslogtreecommitdiffstats
path: root/Help/manual
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2014-11-29 16:56:18 (GMT)
committerBrad King <brad.king@kitware.com>2014-12-01 14:50:49 (GMT)
commit0de867dde282670461e56ce61e9c33fc6044d9a4 (patch)
treeaf94ceb9dbebc712c08381b520462aca49dd113d /Help/manual
parent8e75f1d2fa3049ac31f4ebdbc255fca3e6414802 (diff)
downloadCMake-0de867dde282670461e56ce61e9c33fc6044d9a4.zip
CMake-0de867dde282670461e56ce61e9c33fc6044d9a4.tar.gz
CMake-0de867dde282670461e56ce61e9c33fc6044d9a4.tar.bz2
continue: Add a new CMake language command for loop continuation (#14013)
Inspired-by: Doug Barbieri Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Diffstat (limited to 'Help/manual')
-rw-r--r--Help/manual/cmake-commands.7.rst1
-rw-r--r--Help/manual/cmake-language.7.rst6
2 files changed, 5 insertions, 2 deletions
diff --git a/Help/manual/cmake-commands.7.rst b/Help/manual/cmake-commands.7.rst
index 9c1d3b9..4616dd1 100644
--- a/Help/manual/cmake-commands.7.rst
+++ b/Help/manual/cmake-commands.7.rst
@@ -31,6 +31,7 @@ These commands may be used freely in CMake projects.
/command/cmake_minimum_required
/command/cmake_policy
/command/configure_file
+ /command/continue
/command/create_test_sourcelist
/command/define_property
/command/elseif
diff --git a/Help/manual/cmake-language.7.rst b/Help/manual/cmake-language.7.rst
index 9c511ca..15c101f 100644
--- a/Help/manual/cmake-language.7.rst
+++ b/Help/manual/cmake-language.7.rst
@@ -469,8 +469,10 @@ Loops
The :command:`foreach`/:command:`endforeach` and
:command:`while`/:command:`endwhile` commands delimit code
-blocks to be executed in a loop. The :command:`break` command
-may be used inside such blocks to terminate the loop early.
+blocks to be executed in a loop. Inside such blocks the
+:command:`break` command may be used to terminate the loop
+early whereas the :command:`continue` command may be used
+to start with the next iteration immediately.
Command Definitions
-------------------