Преглед на файлове

install: Document where the components are used

Peter Kokot преди 10 месеца
родител
ревизия
5a974b99fe
променени са 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