[Cmake-commits] CMake branch, next, updated. v2.8.11.1-2751-gd9ab77e
Brad King
brad.king at kitware.com
Wed Jun 26 08:47:04 EDT 2013
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 d9ab77e8b5c18bba237f9ce84724919a44059138 (commit)
via c293e05b8e6093151dcebd6e5bd76840ac4f5e89 (commit)
via fdd558d6a6d630d4b0b1f6e84875b3f98fbc0e67 (commit)
from b469e1b3af59a598c2203127c58f1ab333417909 (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 -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=d9ab77e8b5c18bba237f9ce84724919a44059138
commit d9ab77e8b5c18bba237f9ce84724919a44059138
Merge: b469e1b c293e05
Author: Brad King <brad.king at kitware.com>
AuthorDate: Wed Jun 26 08:47:02 2013 -0400
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Wed Jun 26 08:47:02 2013 -0400
Merge topic 'doc-ENV-syntax' into next
c293e05 Document ENV syntax as a "variable" (#14245)
fdd558d CMake Nightly Date Stamp
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c293e05b8e6093151dcebd6e5bd76840ac4f5e89
commit c293e05b8e6093151dcebd6e5bd76840ac4f5e89
Author: Brad King <brad.king at kitware.com>
AuthorDate: Wed Jun 26 08:41:51 2013 -0400
Commit: Brad King <brad.king at kitware.com>
CommitDate: Wed Jun 26 08:41:51 2013 -0400
Document ENV syntax as a "variable" (#14245)
Although "ENV" is not a special variable itself, use it to document
the $ENV{VAR} syntax.
diff --git a/Source/cmDocumentVariables.cxx b/Source/cmDocumentVariables.cxx
index ed51c47..7f5c8ad 100644
--- a/Source/cmDocumentVariables.cxx
+++ b/Source/cmDocumentVariables.cxx
@@ -1180,6 +1180,14 @@ void cmDocumentVariables::DefineVariables(cmake* cm)
"The value must be an integer no less than 128.",false,
"Variables That Describe the System");
+ cm->DefineProperty
+ ("ENV", cmProperty::VARIABLE,
+ "Access environment variables.",
+ "Use the syntax $ENV{VAR} to read environment variable VAR. "
+ "See also the set() command to set ENV{VAR}."
+ ,false,
+ "Variables That Describe the System");
+
// Variables that affect the building of object files and
// targets.
//
-----------------------------------------------------------------------
Summary of changes:
Source/CMakeVersion.cmake | 2 +-
Source/cmDocumentVariables.cxx | 8 ++++++++
2 files changed, 9 insertions(+), 1 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list