summaryrefslogtreecommitdiff
path: root/share/cmake-3.17/Help/command/endmacro.rst
diff options
context:
space:
mode:
Diffstat (limited to 'share/cmake-3.17/Help/command/endmacro.rst')
-rw-r--r--share/cmake-3.17/Help/command/endmacro.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/share/cmake-3.17/Help/command/endmacro.rst b/share/cmake-3.17/Help/command/endmacro.rst
new file mode 100644
index 0000000..4290ba7
--- /dev/null
+++ b/share/cmake-3.17/Help/command/endmacro.rst
@@ -0,0 +1,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.