[Cmake-commits] CMake branch, next, updated. v3.8.0-rc1-476-g2d2c94d
Brad King
brad.king at kitware.com
Wed Feb 22 16:46:29 EST 2017
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via 2d2c94d08fd5f241bb4a736900d6e5acfe5f686b (commit)
via 1dc13019259bd62d63b9295011227029283c2ef7 (commit)
from 89a9078a7caa162f1793a242caf3ce1d90cb2fd4 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=2d2c94d08fd5f241bb4a736900d6e5acfe5f686b
commit 2d2c94d08fd5f241bb4a736900d6e5acfe5f686b
Merge: 89a9078 1dc1301
Author: Brad King <brad.king at kitware.com>
AuthorDate: Wed Feb 22 16:46:28 2017 -0500
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Wed Feb 22 16:46:28 2017 -0500
Merge topic 'doc-cmake-language-makefile-vars' into next
1dc13019 Help: Clarify 'make-style' variable references in cmake-language(7)
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=1dc13019259bd62d63b9295011227029283c2ef7
commit 1dc13019259bd62d63b9295011227029283c2ef7
Author: Michael Maltese <michaeljosephmaltese at gmail.com>
AuthorDate: Wed Feb 22 12:32:13 2017 -0800
Commit: Michael Maltese <michaeljosephmaltese at gmail.com>
CommitDate: Wed Feb 22 13:39:09 2017 -0800
Help: Clarify 'make-style' variable references in cmake-language(7)
Fixes: #16661
diff --git a/Help/manual/cmake-language.7.rst b/Help/manual/cmake-language.7.rst
index ba0b30f..27b5d30 100644
--- a/Help/manual/cmake-language.7.rst
+++ b/Help/manual/cmake-language.7.rst
@@ -329,11 +329,17 @@ For example:
To support legacy CMake code, unquoted arguments may also contain
double-quoted strings (``"..."``, possibly enclosing horizontal
whitespace), and make-style variable references (``$(MAKEVAR)``).
+
Unescaped double-quotes must balance, may not appear at the
beginning of an unquoted argument, and are treated as part of the
content. For example, the unquoted arguments ``-Da="b c"``,
``-Da=$(v)``, and ``a" "b"c"d`` are each interpreted literally.
+ Make-style references are treated literally as part of the content
+ and do not undergo variable expansion. They are treated as part
+ of a single argument (rather than as separate ``$``, ``(``,
+ ``MAKEVAR``, and ``)`` arguments).
+
The above "unquoted_legacy" production represents such arguments.
We do not recommend using legacy unquoted arguments in new code.
Instead use a `Quoted Argument`_ or a `Bracket Argument`_ to
-----------------------------------------------------------------------
Summary of changes:
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list