cmake/Help/command/endforeach.rst

15 lines
342 B
ReStructuredText
Raw Normal View History

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