summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoachim Wuttke (h) <j.wuttke@fz-juelich.de>2022-05-04 13:01:53 (GMT)
committerBrad King <brad.king@kitware.com>2022-05-05 13:35:57 (GMT)
commitee4e728a69d0913ca6f80943764724e02ceb2e11 (patch)
tree22bed1ffea881fa31a707cd863317975cf365d8a
parent3d1d7d2b388e8b046fcd8cbb21863a4edfe8de8a (diff)
downloadCMake-ee4e728a69d0913ca6f80943764724e02ceb2e11.zip
CMake-ee4e728a69d0913ca6f80943764724e02ceb2e11.tar.gz
CMake-ee4e728a69d0913ca6f80943764724e02ceb2e11.tar.bz2
Help: From Environment Variables section, link to cmake -E env etc
-rw-r--r--Help/manual/cmake-language.7.rst7
-rw-r--r--Help/manual/cmake.1.rst2
2 files changed, 9 insertions, 0 deletions
diff --git a/Help/manual/cmake-language.7.rst b/Help/manual/cmake-language.7.rst
index e7d2694..595f114 100644
--- a/Help/manual/cmake-language.7.rst
+++ b/Help/manual/cmake-language.7.rst
@@ -594,6 +594,13 @@ Initialization
Changed values are not written back to the calling process,
and they are not seen by subsequent build or test processes.
+ See the :ref:`cmake -E env <Run a Command-Line Tool>` command-line
+ tool to run a command in a modified environment.
+
+Inspection
+ See the :ref:`cmake -E environment <Run a Command-Line Tool>` command-line
+ tool to display all current environment variables.
+
The :manual:`cmake-env-variables(7)` manual documents environment
variables that have special meaning to CMake.
diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst
index 3ef7b3f..3c5c46c 100644
--- a/Help/manual/cmake.1.rst
+++ b/Help/manual/cmake.1.rst
@@ -619,6 +619,8 @@ in the set of :variable:`CMAKE_ARGV<n> <CMAKE_ARGV0>` variables passed to the
script (including the ``--`` itself).
+.. _`Run a Command-Line Tool`:
+
Run a Command-Line Tool
=======================