Merge topic 'patch-installation-components'

5a974b99fe install: Document where the components are used

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10202
This commit is contained in:
Brad King
2025-01-21 14:29:07 +00:00
committed by Kitware Robot
+5
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