cmake/Help/command/endfunction.rst

15 lines
337 B
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
endfunction
-----------
Ends a list of commands in a function 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
endfunction([<name>])
2014-08-03 19:52:23 +02:00
2015-11-17 17:22:37 +01:00
See the :command:`function` 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 ``function`` command.