CMake/Help/command/break.rst

13 lines
208 B
ReStructuredText
Raw Normal View History

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.