qt-build-tools/6.6.0/_tools/cmake/share/cmake-3.27/Help/command/endfunction.rst

15 lines
337 B
ReStructuredText
Raw Normal View History

2023-11-02 05:26:17 +08:00
endfunction
-----------
Ends a list of commands in a function block.
.. code-block:: cmake
endfunction([<name>])
See the :command:`function` 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 ``function`` command.