Selaa lähdekoodia

install: Document where the components are used

Peter Kokot 10 kuukautta sitten
vanhempi
sitoutus
5a974b99fe
1 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  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