mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-16 23:41:15 -05:00
Help: Tweak project DESCRIPTION documentation
Replace the 'project-description-string' descriptor in the `project`, `export` and `install` commands with 'description-string'. This is more consistent, as none of the other descriptors include 'project-', and it's arguably wrong in the context of `export`/`install`, as the description applies to a package.
This commit is contained in:
@@ -141,7 +141,7 @@ Exporting Targets to the |CPS|
|
||||
[VERSION_SCHEMA <string>]]
|
||||
[DEFAULT_TARGETS <target>...]
|
||||
[DEFAULT_CONFIGURATIONS <config>...]
|
||||
[DESCRIPTION <project-description-string>]
|
||||
[DESCRIPTION <description-string>]
|
||||
[HOMEPAGE_URL <url-string>])
|
||||
|
||||
.. versionadded:: 4.1
|
||||
|
||||
@@ -1001,7 +1001,7 @@ Signatures
|
||||
[VERSION_SCHEMA <string>]]
|
||||
[DEFAULT_TARGETS <target>...]
|
||||
[DEFAULT_CONFIGURATIONS <config>...]
|
||||
[DESCRIPTION <project-description-string>]
|
||||
[DESCRIPTION <description-string>]
|
||||
[HOMEPAGE_URL <url-string>]
|
||||
[PERMISSIONS <permission>...]
|
||||
[CONFIGURATIONS <config>...]
|
||||
@@ -1059,7 +1059,7 @@ Signatures
|
||||
configurations exists. If not specified, CMake will fall back to the
|
||||
package's available configurations in an unspecified order.
|
||||
|
||||
``DESCRIPTION <project-description-string>``
|
||||
``DESCRIPTION <description-string>``
|
||||
.. versionadded:: 4.1
|
||||
|
||||
An informational description of the project. It is recommended that this
|
||||
|
||||
@@ -12,7 +12,7 @@ Synopsis
|
||||
project(<PROJECT-NAME>
|
||||
[VERSION <major>[.<minor>[.<patch>[.<tweak>]]]]
|
||||
[COMPAT_VERSION <major>[.<minor>[.<patch>[.<tweak>]]]]
|
||||
[DESCRIPTION <project-description-string>]
|
||||
[DESCRIPTION <description-string>]
|
||||
[HOMEPAGE_URL <url-string>]
|
||||
[LANGUAGES <language-name>...])
|
||||
|
||||
@@ -106,7 +106,7 @@ The options are:
|
||||
``CMakeLists.txt``, then the compatibility version is also stored in the
|
||||
variable :variable:`CMAKE_PROJECT_COMPAT_VERSION`.
|
||||
|
||||
``DESCRIPTION <project-description-string>``
|
||||
``DESCRIPTION <description-string>``
|
||||
.. versionadded:: 3.9
|
||||
|
||||
Optional.
|
||||
@@ -114,7 +114,7 @@ The options are:
|
||||
|
||||
* :variable:`PROJECT_DESCRIPTION`, :variable:`<PROJECT-NAME>_DESCRIPTION`
|
||||
|
||||
to ``<project-description-string>``.
|
||||
to ``<description-string>``.
|
||||
It is recommended that this description is a relatively short string,
|
||||
usually no more than a few words.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user