diff options
Diffstat (limited to 'share/cmake-3.16/Help/command/break.rst')
-rw-r--r-- | share/cmake-3.16/Help/command/break.rst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/share/cmake-3.16/Help/command/break.rst b/share/cmake-3.16/Help/command/break.rst new file mode 100644 index 0000000..4875a2b --- /dev/null +++ b/share/cmake-3.16/Help/command/break.rst @@ -0,0 +1,12 @@ +break +----- + +Break from an enclosing foreach or while loop. + +.. code-block:: cmake + + break() + +Breaks from an enclosing :command:`foreach` or :command:`while` loop. + +See also the :command:`continue` command. |