diff options
author | Brad King <brad.king@kitware.com> | 2018-10-16 15:03:08 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-10-16 15:03:08 (GMT) |
commit | ab0edaabccc16bb568974051ee1e50b10993874a (patch) | |
tree | 03ab2cd390dc4c338db04878314337a77a6d6b96 /Help/policy/CMP0053.rst | |
parent | eca87ee811a86a54a3e0bc27a29ea07ff9276ab7 (diff) | |
parent | 82a48226107e2ee0d073eaf521750c8354b67e41 (diff) | |
download | CMake-ab0edaabccc16bb568974051ee1e50b10993874a.zip CMake-ab0edaabccc16bb568974051ee1e50b10993874a.tar.gz CMake-ab0edaabccc16bb568974051ee1e50b10993874a.tar.bz2 |
Merge branch 'document-dollar-in-varnames' into release-3.13
Merge-request: !2479
Diffstat (limited to 'Help/policy/CMP0053.rst')
-rw-r--r-- | Help/policy/CMP0053.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Help/policy/CMP0053.rst b/Help/policy/CMP0053.rst index 2620a60..032b3e5 100644 --- a/Help/policy/CMP0053.rst +++ b/Help/policy/CMP0053.rst @@ -16,6 +16,10 @@ cleaned up to simplify the behavior. Specifically: * Literal ``${VAR}`` reference syntax may contain only alphanumeric characters (``A-Z``, ``a-z``, ``0-9``) and the characters ``_``, ``.``, ``/``, ``-``, and ``+``. + Note that ``$`` is technically allowed in the ``NEW`` behavior, but is + invalid for ``OLD`` behavior. This is due to an oversight during the + implementation of :policy:`CMP0053` and its use as a literal variable + reference is discouraged for this reason. Variables with other characters in their name may still be referenced indirectly, e.g. |