From e71ec689cffc654db3100fcab3fdb9b8a3341759 Mon Sep 17 00:00:00 2001 From: Matthew Woehlke Date: Thu, 19 Feb 2026 17:05:50 -0500 Subject: [PATCH] Help: Update CPS release notes for 4.3 Add a dedicated section for CPS support. Remove note about changes to CPS export, since the no-longer-experimental support is treated as a new feature. --- Help/release/4.3.rst | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/Help/release/4.3.rst b/Help/release/4.3.rst index 1779fa1cbe..b05ad037a2 100644 --- a/Help/release/4.3.rst +++ b/Help/release/4.3.rst @@ -10,6 +10,27 @@ Changes made since CMake 4.2 include the following. New Features ============ +Common Package Specification +---------------------------- + +* Support for importing and exporting packages described using the |CPS|_ + (CPS) was added. This improves build system interoperability by allowing + expressive, feature-rich package descriptions to be exchanged in a format + other than CMake Language. + + * The :command:`find_package` now searches for and can import CPS packages. + + * The :command:`install` and :command:`export` commands gained a new + ``PACKAGE_INFO`` sub-command to generate CPS package descriptions. + + * The :command:`project` command gained new ``COMPAT_VERSION`` and + ``SPDX_LICENSE`` options. These values may be inherited when creating a + CPS package description. See the :command:`install(PACKAGE_INFO)` + documentation for details. + +.. _CPS: https://cps-org.github.io/cps/ +.. |CPS| replace:: Common Package Specification + Instrumentation --------------- @@ -95,10 +116,6 @@ Commands * The :command:`get_property` and :command:`set_property` commands now support a ``FILE_SET`` scope for file set properties of a target. -* The :command:`install(PACKAGE_INFO)` and :command:`export(PACKAGE_INFO)` - commands now support specifying ``CXX_MODULES_DIRECTORY`` for exporting - C++20 modules. - * The :command:`string(JSON)` command gained new ``GET_RAW`` and ``STRING_ENCODE`` modes.