endwhile — CMake 4.0.1 Documentation (original) (raw)

Ends a list of commands in a while block.

endwhile([])

See the while() command.

The optional <condition> argument is supported for backward compatibility only. If used it must be a verbatim repeat of the argument of the openingwhile clause.