summaryrefslogtreecommitdiffstats
path: root/Help/command/endmacro.rst
blob: 4290ba7488ac13a7bd5e57a713cd3780d6d19b43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
endmacro
--------

Ends a list of commands in a macro block.

.. code-block:: cmake

  endmacro([<name>])

See the :command:`macro` command.

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.