W3cubDocs

/CMake 3.6

break

Break from an enclosing foreach or while loop.

break()

Breaks from an enclosing foreach loop or while loop

See also the continue() command.

© 2000–2016 Kitware, Inc.
© 2000–2011 Insight Software Consortium
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.6/command/break.html