cmake/Help/command/endmacro.rst

15 lines
319 B
ReStructuredText
Raw Normal View History

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