continue.rst 304 B

123456789101112
  1. continue
  2. --------
  3. Continue to the top of enclosing foreach or while loop.
  4. ::
  5. continue()
  6. The ``continue`` command allows a cmake script to abort the rest of a block
  7. in a :command:`foreach` or :command:`while` loop, and start at the top of
  8. the next iteration. See also the :command:`break` command.