install: Document where the components are used

This commit is contained in:
Peter Kokot 2025-01-20 12:01:07 +01:00
parent 4b56e7526a
commit 5a974b99fe
No known key found for this signature in database
GPG Key ID: A94800907AA79B36

View File

@ -111,6 +111,11 @@ signatures that specify them. The common options are:
created. The default component name may be controlled with the
:variable:`CMAKE_INSTALL_DEFAULT_COMPONENT_NAME` variable.
Installation components can be then used by the ``cmake --install`` command's
:option:`--component <cmake--install --component>` option and the
:module:`CPackComponent` module. Global target ``list_install_components``
lists all available components.
``EXCLUDE_FROM_ALL``
.. versionadded:: 3.6