blob: 31c7089a1295da66cf9aac20181ad06dcd1f9a67 [file] [log] [blame]
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.