diff options
author | Brad King <brad.king@kitware.com> | 2013-06-28 13:03:45 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-06-28 13:03:45 (GMT) |
commit | cff1bf48e79f8d85ead57d8ba5393b8157bb5721 (patch) | |
tree | 72152b67746639da0c6bd3eb7d949b5aff4303af /Source | |
parent | 055a38bdaf95aa6a56eceb8053d9f6d40b7997ec (diff) | |
parent | c293e05b8e6093151dcebd6e5bd76840ac4f5e89 (diff) | |
download | CMake-cff1bf48e79f8d85ead57d8ba5393b8157bb5721.zip CMake-cff1bf48e79f8d85ead57d8ba5393b8157bb5721.tar.gz CMake-cff1bf48e79f8d85ead57d8ba5393b8157bb5721.tar.bz2 |
Merge topic 'doc-ENV-syntax'
c293e05 Document ENV syntax as a "variable" (#14245)
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmDocumentVariables.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
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. // |