mirror of
https://github.com/reactos/CMake.git
synced 2024-11-25 12:40:06 +00:00
Document ENV syntax as a "variable" (#14245)
Although "ENV" is not a special variable itself, use it to document the $ENV{VAR} syntax.
This commit is contained in:
parent
fdd558d6a6
commit
c293e05b8e
@ -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.
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user