summaryrefslogtreecommitdiffstats
path: root/Help/variable/ENV.rst
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2018-08-07 12:43:22 (GMT)
committerBrad King <brad.king@kitware.com>2018-08-07 17:13:27 (GMT)
commit4d384d290e2c873ad1f8d749e54b1b097df727dd (patch)
tree4bbbb047919fdc60923d5f4131139a67dab199b5 /Help/variable/ENV.rst
parent90df5f673029ae5a9ca1e88fec9ed3aa67ad36d1 (diff)
downloadCMake-4d384d290e2c873ad1f8d749e54b1b097df727dd.zip
CMake-4d384d290e2c873ad1f8d749e54b1b097df727dd.tar.gz
CMake-4d384d290e2c873ad1f8d749e54b1b097df727dd.tar.bz2
Help: Document the $CACHE{} syntax
Also add a test case for the behavior.
Diffstat (limited to 'Help/variable/ENV.rst')
-rw-r--r--Help/variable/ENV.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/Help/variable/ENV.rst b/Help/variable/ENV.rst
index 368152a..98677dd 100644
--- a/Help/variable/ENV.rst
+++ b/Help/variable/ENV.rst
@@ -1,7 +1,8 @@
ENV
---
-Access environment variables.
+Read environment variables.
-Use the syntax ``$ENV{VAR}`` to read environment variable ``VAR``. See also
-the :command:`set` command to set ``ENV{VAR}``.
+Use the syntax ``$ENV{VAR}`` to read environment variable ``VAR``.
+
+See the :command:`set` command to see how to write environment variables.