cmake/Help/command/endwhile.rst

15 lines
317 B
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
endwhile
--------
Ends a list of commands in a while block.
2019-11-11 23:01:05 +01:00
.. code-block:: cmake
2014-08-03 19:52:23 +02:00
2019-11-11 23:01:05 +01:00
endwhile([<condition>])
2014-08-03 19:52:23 +02:00
2015-11-17 17:22:37 +01:00
See the :command:`while` command.
2019-11-11 23:01:05 +01:00
The optional ``<condition>`` argument is supported for backward compatibility
only. If used it must be a verbatim repeat of the argument of the opening
``while`` clause.