Browse Source

Merge topic 'improve-project-doc' into release-4.1

1cd8c8f02a Help: Mention use of project() variables in packages

Acked-by: Kitware Robot <[email protected]>
Merge-request: !10895
Brad King 5 months ago
parent
commit
2720b0b95b
1 changed files with 6 additions and 2 deletions
  1. 6 2
      Help/command/project.rst

+ 6 - 2
Help/command/project.rst

@@ -149,8 +149,12 @@ By default ``C`` and ``CXX`` are enabled if no language options are given.
 Specify language ``NONE``, or use the ``LANGUAGES`` keyword and list no languages,
 to skip enabling any languages.
 
-The variables set through the ``VERSION``, ``DESCRIPTION`` and ``HOMEPAGE_URL``
-options are intended for use as default values in package metadata and documentation.
+The variables set through the ``VERSION``, ``COMPAT_VERSION``, ``DESCRIPTION``
+and ``HOMEPAGE_URL`` options are intended for use as default values in package
+metadata and documentation. The :command:`export` and :command:`install`
+commands use these accordingly when generating |CPS| package descriptions.
+
+.. |CPS| replace:: Common Package Specification
 
 .. _`Code Injection`: