diff options
Diffstat (limited to 'share/cmake-3.18/Help/command/continue.rst')
-rw-r--r-- | share/cmake-3.18/Help/command/continue.rst | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/share/cmake-3.18/Help/command/continue.rst b/share/cmake-3.18/Help/command/continue.rst new file mode 100644 index 0000000..31c7089 --- /dev/null +++ b/share/cmake-3.18/Help/command/continue.rst @@ -0,0 +1,14 @@ +continue +-------- + +Continue to the top of enclosing foreach or while loop. + +.. code-block:: cmake + + 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. |