diff options
author | Alex Turbov <i.zaufi@gmail.com> | 2022-11-05 23:43:30 (GMT) |
---|---|---|
committer | Alex Turbov <i.zaufi@gmail.com> | 2022-11-05 23:43:30 (GMT) |
commit | 295062ef4b3ae630c2d2a19baba1da41c28ac229 (patch) | |
tree | 9793cb7677ab6763036192e06a31d4cd70c823f4 | |
parent | 8a3e732b9b1011d03880fd2aa8b3298506089450 (diff) | |
download | CMake-295062ef4b3ae630c2d2a19baba1da41c28ac229.zip CMake-295062ef4b3ae630c2d2a19baba1da41c28ac229.tar.gz CMake-295062ef4b3ae630c2d2a19baba1da41c28ac229.tar.bz2 |
Help: Add some more `:option:` role to `cmake-language(7)` manual
-rw-r--r-- | Help/manual/cmake-language.7.rst | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Help/manual/cmake-language.7.rst b/Help/manual/cmake-language.7.rst index 17f5c85..e4c0d1f 100644 --- a/Help/manual/cmake-language.7.rst +++ b/Help/manual/cmake-language.7.rst @@ -37,10 +37,10 @@ Scripts An individual ``<script>.cmake`` source file may be processed in *script mode* by using the :manual:`cmake(1)` command-line tool -with the ``-P`` option. Script mode simply runs the commands in -the given CMake Language source file and does not generate a -build system. It does not allow CMake commands that define build -targets or actions. +with the :option:`-P <cmake -P>` option. Script mode simply runs +the commands in the given CMake Language source file and does not +generate a build system. It does not allow CMake commands that +define build targets or actions. Modules ------- @@ -542,8 +542,8 @@ Directory Scope bindings. Before processing the ``CMakeLists.txt`` file for a directory, CMake copies all variable bindings currently defined in the parent directory, if any, to initialize the new directory - scope. CMake `Scripts`_, when processed with ``cmake -P``, bind - variables in one "directory" scope. + scope. CMake `Scripts`_, when processed with :option:`cmake -P`, + bind variables in one "directory" scope. A variable "set" or "unset" not inside a function call binds to the current directory scope. @@ -597,11 +597,11 @@ 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 + See the :option:`cmake -E env <cmake-E env>` 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 + See the :option:`cmake -E environment <cmake-E environment>` command-line tool to display all current environment variables. The :manual:`cmake-env-variables(7)` manual documents environment |