Ver Fonte

install: Document where the components are used

Peter Kokot há 10 meses atrás
pai
commit
5a974b99fe
1 ficheiros alterados com 5 adições e 0 exclusões
  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