Experimental: Add CMAKE_EXPERIMENTAL_MAPPED_PACKAGE_INFO

Update experimental documentation to mention support for generating CPS
package info from `install(EXPORT)`.
This commit is contained in:
Matthew Woehlke
2026-01-14 12:50:01 -05:00
parent 197099e393
commit 28647db676

View File

@@ -57,6 +57,25 @@ When activated, this experimental feature provides the following:
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
==========================