Merge topic 'cps-more-metadata'

da97747dac CPS: Support additional metadata
f224e131a5 CPS: Refactor metadata handling
7155903e53 cmExportPackageInfoGenerator: Fix style

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !10856
This commit is contained in:
Brad King
2025-06-06 12:28:04 +00:00
committed by Kitware Robot
18 changed files with 125 additions and 32 deletions
+3 -1
View File
@@ -140,7 +140,9 @@ Exporting Targets to the |CPS|
[COMPAT_VERSION <version>]
[VERSION_SCHEMA <string>]]
[DEFAULT_TARGETS <target>...]
[DEFAULT_CONFIGURATIONS <config>...])
[DEFAULT_CONFIGURATIONS <config>...]
[DESCRIPTION <project-description-string>]
[HOMEPAGE_URL <url-string>])
.. versionadded:: 4.1
.. note::
+13
View File
@@ -1001,6 +1001,8 @@ Signatures
[VERSION_SCHEMA <string>]]
[DEFAULT_TARGETS <target>...]
[DEFAULT_CONFIGURATIONS <config>...]
[DESCRIPTION <project-description-string>]
[HOMEPAGE_URL <url-string>]
[PERMISSIONS <permission>...]
[CONFIGURATIONS <config>...]
[COMPONENT <component>]
@@ -1057,6 +1059,17 @@ Signatures
configurations exists. If not specified, CMake will fall back to the
package's available configurations in an unspecified order.
``DESCRIPTION <project-description-string>``
.. versionadded:: 4.1
An informational description of the project. It is recommended that this
description is a relatively short string, usually no more than a few words.
``HOMEPAGE_URL <url-string>``
.. versionadded:: 4.1
An informational canonical home URL for the project.
By default, if the specified ``<package-name>`` matches the current CMake
:variable:`PROJECT_NAME`, package metadata will be inherited from the
project. The ``PROJECT <project-name>`` option may be used to specify a