summaryrefslogtreecommitdiffstats
path: root/Help/manual
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-10-16 15:04:01 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-10-16 15:04:09 (GMT)
commite5e59a1bc68702395ff63e301cadaee266982fc7 (patch)
tree4ff2089beb3991a63cb14fb227a94d1ba15c3a15 /Help/manual
parent73d9d53ed0333f76e8ded6a91d34fbc43111ab27 (diff)
parent82a48226107e2ee0d073eaf521750c8354b67e41 (diff)
downloadCMake-e5e59a1bc68702395ff63e301cadaee266982fc7.zip
CMake-e5e59a1bc68702395ff63e301cadaee266982fc7.tar.gz
CMake-e5e59a1bc68702395ff63e301cadaee266982fc7.tar.bz2
Merge topic 'document-dollar-in-varnames'
82a4822610 CMP0053: document that `$` is a valid literal variable character Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2479
Diffstat (limited to 'Help/manual')
-rw-r--r--Help/manual/cmake-language.7.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Help/manual/cmake-language.7.rst b/Help/manual/cmake-language.7.rst
index 591f73d..71649ba 100644
--- a/Help/manual/cmake-language.7.rst
+++ b/Help/manual/cmake-language.7.rst
@@ -391,8 +391,9 @@ inside out, e.g. ``${outer_${inner_variable}_variable}``.
Literal variable references may consist of alphanumeric characters,
the characters ``/_.+-``, and `Escape Sequences`_. Nested references
-may be used to evaluate variables of any name. (See also policy
-:policy:`CMP0053` documentation for historical considerations.)
+may be used to evaluate variables of any name. See also policy
+:policy:`CMP0053` documentation for historical considerations and reasons why
+the ``$`` is also technically permitted but is discouraged.
The `Variables`_ section documents the scope of variable names
and how their values are set.