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

This commit is contained in:
Joachim Wuttke (h)
2022-05-04 15:01:53 +02:00
committed by Brad King
parent 3d1d7d2b38
commit ee4e728a69
2 changed files with 9 additions and 0 deletions

View File

@@ -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.

View File

@@ -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
======================= =======================