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

Merge topic 'experimental-fixes'

28647db676 Experimental: Add CMAKE_EXPERIMENTAL_MAPPED_PACKAGE_INFO
197099e393 Experimental: Update PACKAGE_INFO, SBOM documentation

Acked-by: Kitware Robot <[email protected]>
Merge-request: !11599
Brad King 6 дней назад
Родитель
Сommit
17aa90f9c6
1 измененных файлов с 25 добавлено и 5 удалено
  1. 25 5
      Help/dev/experimental.rst

+ 25 - 5
Help/dev/experimental.rst

@@ -53,8 +53,28 @@ experimenting.
 
 When activated, this experimental feature provides the following:
 
-* The experimental ``install(PACKAGE_INFO)`` command is available to export
-  package information in the |CPS|_ format.
+* The experimental ``export(PACKAGE_INFO)`` and ``install(PACKAGE_INFO)``
+  commands are available to export package information in the |CPS|_ format.
+  See :command:`install(PACKAGE_INFO)` for a complete overview of the command.
+
+Export |CPS| Package Information for ``install(EXPORT)``
+""""""""""""""""""""""""""""""""""""""""""""""""""""""""
+
+In order to activate support for this experimental feature, set
+
+* variable ``CMAKE_EXPERIMENTAL_EXPORT_PACKAGE_INFO`` to
+* value ``b80be207-778e-46ba-8080-b23bba22639e``.
+* variable ``CMAKE_EXPERIMENTAL_MAPPED_PACKAGE_INFO`` to
+* value ``ababa1b5-7099-495f-a9cd-e22d38f274f2``.
+
+These UUIDs may change in future versions of CMake.  Be sure to use the values
+documented here by the source tree of the version of CMake with which you are
+experimenting.
+
+When activated, this experimental feature provides the following:
+
+* Setting ``CMAKE_INSTALL_EXPORTS_AS_PACKAGE_INFO`` enables generation of
+  package information in the |CPS|_ format via the ``install(EXPORT)`` command.
 
 Find/Import |CPS| Packages
 ==========================
@@ -155,6 +175,6 @@ experimenting.
 
 When activated, this experimental feature provides the following:
 
-* The experimental ``install(SBOM)`` command is available to generate
-  a Software Bill of Materials or "SBOM" for the current project. See
-  :command:`install(SBOM)` for a complete overview of the command
+* The experimental ``export(SBOM)`` and ``install(SBOM)`` commands are
+  available to generate a Software Bill of Materials or "SBOM" for the current
+  project. See :command:`install(SBOM)` for a complete overview of the command.