summaryrefslogtreecommitdiffstats
path: root/Help/command/continue.rst
blob: 1c7d6730cfb693f499e0e3820884befa42c69f3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
continue
--------

Continue to the top of enclosing foreach or while loop.

::

  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.