From 5a974b99fef4bd82890e9b93dd0ce093d14e715d Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Mon, 20 Jan 2025 12:01:07 +0100 Subject: [PATCH] install: Document where the components are used --- Help/command/install.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Help/command/install.rst b/Help/command/install.rst index a0e6a081f7..55ec7e3ba4 100644 --- a/Help/command/install.rst +++ b/Help/command/install.rst @@ -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 ` option and the + :module:`CPackComponent` module. Global target ``list_install_components`` + lists all available components. + ``EXCLUDE_FROM_ALL`` .. versionadded:: 3.6