continue.rst 323 B

1234567891011121314
  1. continue
  2. --------
  3. Continue to the top of enclosing foreach or while loop.
  4. .. code-block:: cmake
  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.
  9. See also the :command:`break` command.