mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-01 19:30:13 -06:00
Help: Cross-reference ENV operator from cmake-language(7) manual
This commit is contained in:
committed by
Brad King
parent
ee4e728a69
commit
ab2bdbaf31
@@ -582,7 +582,8 @@ Scope
|
||||
They are never cached.
|
||||
|
||||
References
|
||||
`Variable References`_ have the form ``$ENV{<variable>}``.
|
||||
`Variable References`_ have the form ``$ENV{<variable>}``, using the
|
||||
:variable:`ENV` operator.
|
||||
|
||||
Initialization
|
||||
Initial values of the CMake environment variables are those of
|
||||
|
||||
@@ -8,5 +8,6 @@ Use the syntax ``$ENV{VAR}`` to read environment variable ``VAR``.
|
||||
To test whether an environment variable is defined, use the signature
|
||||
``if(DEFINED ENV{<name>})`` of the :command:`if` command.
|
||||
|
||||
See the :command:`set` and :command:`unset` commands to see how to
|
||||
write or remove environment variables.
|
||||
For general information on environment variables, see the
|
||||
:ref:`Environment Variables <CMake Language Environment Variables>`
|
||||
section in the :manual:`cmake-language(7)` manual.
|
||||
|
||||
Reference in New Issue
Block a user