cmake/Help/command/break.rst

13 lines
208 B
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
break
-----
Break from an enclosing foreach or while loop.
2019-11-11 23:01:05 +01:00
.. code-block:: cmake
2014-08-03 19:52:23 +02:00
break()
2019-11-11 23:01:05 +01:00
Breaks from an enclosing :command:`foreach` or :command:`while` loop.
2015-04-27 22:25:09 +02:00
See also the :command:`continue` command.