### Navigation

- index
- next |
- previous |
- CMake »
- 3.4.3 Documentation »
- cmake-commands(7) »

# 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 `foreach()` or `while()` loop, and start at the top of the next iteration. See also the `break()` command.

### Navigation

- index
- next |
- previous |
- CMake »
- 3.4.3 Documentation »
- cmake-commands(7) »