summaryrefslogtreecommitdiff
path: root/Help/command/continue.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/command/continue.rst')
-rw-r--r--Help/command/continue.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/Help/command/continue.rst b/Help/command/continue.rst
new file mode 100644
index 000000000..1c7d6730c
--- /dev/null
+++ b/Help/command/continue.rst
@@ -0,0 +1,12 @@
+continue
+--------
+
+Continue to the top of enclosing foreach or while loop.
+
+::
+
+ continue()
+
+The ``continue`` command allows a cmake script to abort the rest of a block
+in a :command:`foreach` or :command:`while` loop, and start at the top of
+the next iteration. See also the :command:`break` command.