Browse Source

Help: From Environment Variables section, link to cmake -E env etc

Joachim Wuttke (h) 3 years ago
parent
commit
ee4e728a69
2 changed files with 9 additions and 0 deletions
  1. 7 0
      Help/manual/cmake-language.7.rst
  2. 2 0
      Help/manual/cmake.1.rst

+ 7 - 0
Help/manual/cmake-language.7.rst

@@ -594,6 +594,13 @@ Initialization
  Changed values are not written back to the calling process,
  Changed values are not written back to the calling process,
  and they are not seen by subsequent build or test processes.
  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
 The :manual:`cmake-env-variables(7)` manual documents environment
 variables that have special meaning to CMake.
 variables that have special meaning to CMake.
 
 

+ 2 - 0
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).
 script (including the ``--`` itself).
 
 
 
 
+.. _`Run a Command-Line Tool`:
+
 Run a Command-Line Tool
 Run a Command-Line Tool
 =======================
 =======================