Просмотр исходного кода

Merge topic 'patch-installation-components'

5a974b99fe install: Document where the components are used

Acked-by: Kitware Robot <[email protected]>
Merge-request: !10202
Brad King 1 год назад
Родитель
Сommit
a91a01747d
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      Help/command/install.rst

+ 5 - 0
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 <cmake--install --component>` option and the
+  :module:`CPackComponent` module.  Global target ``list_install_components``
+  lists all available components.
+
 ``EXCLUDE_FROM_ALL``
   .. versionadded:: 3.6