From 28647db676cf759bf4edbc98104eaa8f730f2cb3 Mon Sep 17 00:00:00 2001 From: Matthew Woehlke Date: Wed, 14 Jan 2026 12:50:01 -0500 Subject: [PATCH] Experimental: Add CMAKE_EXPERIMENTAL_MAPPED_PACKAGE_INFO Update experimental documentation to mention support for generating CPS package info from `install(EXPORT)`. --- Help/dev/experimental.rst | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Help/dev/experimental.rst b/Help/dev/experimental.rst index 8b0d43ec33..863d6b21a6 100644 --- a/Help/dev/experimental.rst +++ b/Help/dev/experimental.rst @@ -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 ==========================