[Cmake-commits] CMake branch, next, updated. v3.8.0-rc1-472-g3e46192

Brad King brad.king at kitware.com
Wed Feb 22 16:22:16 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  3e46192ef2c87777d136894f4dcc9bcb524164f9 (commit)
       via  f765e21b903d36c79d83dfcfdf0a44c43540f99a (commit)
      from  0ec930925c5e16f6e6ad20d565076d505a91906c (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=3e46192ef2c87777d136894f4dcc9bcb524164f9
commit 3e46192ef2c87777d136894f4dcc9bcb524164f9
Merge: 0ec9309 f765e21
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Wed Feb 22 16:22:15 2017 -0500
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Wed Feb 22 16:22:15 2017 -0500

    Merge topic 'doc-cmake-language-makefile-vars' into next
    
    f765e21b Help: Clarify 'make-style' variable references in cmake-language(7)


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f765e21b903d36c79d83dfcfdf0a44c43540f99a
commit f765e21b903d36c79d83dfcfdf0a44c43540f99a
Author:     Michael Maltese <michaeljosephmaltese at gmail.com>
AuthorDate: Wed Feb 22 12:32:13 2017 -0800
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Wed Feb 22 15:48:38 2017 -0500

    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..f98200c 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 also 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:
 Help/manual/cmake-language.7.rst |    6 ++++++
 1 file changed, 6 insertions(+)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list