summaryrefslogtreecommitdiffstats
path: root/Help/command/project.rst
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2018-03-15 20:18:42 (GMT)
committerCraig Scott <craig.scott@crascit.com>2018-03-16 21:25:48 (GMT)
commitfd28c382b44ee355099750419ecd46e0aa175de0 (patch)
treea3fa7b4829927a539d226545a14dbb9d37800368 /Help/command/project.rst
parent9b57cb62ea7f1557694054b552cbeb39fb12788e (diff)
downloadCMake-fd28c382b44ee355099750419ecd46e0aa175de0.zip
CMake-fd28c382b44ee355099750419ecd46e0aa175de0.tar.gz
CMake-fd28c382b44ee355099750419ecd46e0aa175de0.tar.bz2
project: Add <PROJECT-NAME>_DESCRIPTION
For consistency with the VERSION keyword, also define the <PROJECT-NAME>_DESCRIPTION variable.
Diffstat (limited to 'Help/command/project.rst')
-rw-r--r--Help/command/project.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/Help/command/project.rst b/Help/command/project.rst
index ac71d7a..062e9ea 100644
--- a/Help/command/project.rst
+++ b/Help/command/project.rst
@@ -41,9 +41,10 @@ in variables
Variables corresponding to unspecified versions are set to the empty string
(if policy :policy:`CMP0048` is set to ``NEW``).
-If optional ``DESCRIPTION`` is given, then additional :variable:`PROJECT_DESCRIPTION`
-variable will be set to its argument. The argument must be a string with short
-description of the project (only a few words).
+If the optional ``DESCRIPTION`` is given, then :variable:`PROJECT_DESCRIPTION`
+and :variable:`<PROJECT-NAME>_DESCRIPTION` will be set to its argument.
+The description is expected to be a relatively short string, usually no more
+than a few words.
Optionally you can specify which languages your project supports.
Example languages include ``C``, ``CXX`` (i.e. C++), ``CUDA``,