From ee4e728a69d0913ca6f80943764724e02ceb2e11 Mon Sep 17 00:00:00 2001 From: "Joachim Wuttke (h)" Date: Wed, 4 May 2022 15:01:53 +0200 Subject: Help: From Environment Variables section, link to cmake -E env etc --- Help/manual/cmake-language.7.rst | 7 +++++++ Help/manual/cmake.1.rst | 2 ++ 2 files changed, 9 insertions(+) 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 ` command-line + tool to run a command in a modified environment. + +Inspection + See the :ref:`cmake -E environment ` 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 ` variables passed to the script (including the ``--`` itself). +.. _`Run a Command-Line Tool`: + Run a Command-Line Tool ======================= -- cgit v0.12