summaryrefslogtreecommitdiffstats
path: root/Help/command
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2022-11-18 15:37:04 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2022-11-18 19:09:32 (GMT)
commitc36910476a9c41c22b0abaa028b0dd2a8f7d7e40 (patch)
treee0292c03ed1ef3fa2e730fab28633473ba44cbcf /Help/command
parent391c53a851eaffae40b210c3cdefd31d86b45f90 (diff)
downloadCMake-c36910476a9c41c22b0abaa028b0dd2a8f7d7e40.zip
CMake-c36910476a9c41c22b0abaa028b0dd2a8f7d7e40.tar.gz
CMake-c36910476a9c41c22b0abaa028b0dd2a8f7d7e40.tar.bz2
Help: remove links from pages to themselves
At least the top-reference links. Internal `:ref:` usages have been left intact.
Diffstat (limited to 'Help/command')
-rw-r--r--Help/command/add_library.rst2
-rw-r--r--Help/command/execute_process.rst2
-rw-r--r--Help/command/include_guard.rst2
-rw-r--r--Help/command/install.rst2
-rw-r--r--Help/command/return.rst2
-rw-r--r--Help/command/try_compile.rst2
6 files changed, 6 insertions, 6 deletions
diff --git a/Help/command/add_library.rst b/Help/command/add_library.rst
index 43cefca..07c8bab 100644
--- a/Help/command/add_library.rst
+++ b/Help/command/add_library.rst
@@ -83,7 +83,7 @@ Object Libraries
Creates an :ref:`Object Library <Object Libraries>`. An object library
compiles source files but does not archive or link their object files into a
-library. Instead other targets created by :command:`add_library` or
+library. Instead other targets created by ``add_library`` or
:command:`add_executable` may reference the objects using an expression of the
form :genex:`$\<TARGET_OBJECTS:objlib\> <TARGET_OBJECTS>` as a source, where
``objlib`` is the object library name. For example:
diff --git a/Help/command/execute_process.rst b/Help/command/execute_process.rst
index d4ba465..5cfeeab 100644
--- a/Help/command/execute_process.rst
+++ b/Help/command/execute_process.rst
@@ -52,7 +52,7 @@ Options:
redirect stdin, stdout, and stderr.)
If a sequential execution of multiple commands is required, use multiple
- :command:`execute_process` calls with a single ``COMMAND`` argument.
+ ``execute_process`` calls with a single ``COMMAND`` argument.
``WORKING_DIRECTORY``
The named directory will be set as the current working directory of
diff --git a/Help/command/include_guard.rst b/Help/command/include_guard.rst
index dca3b6f..e8cafac 100644
--- a/Help/command/include_guard.rst
+++ b/Help/command/include_guard.rst
@@ -13,7 +13,7 @@ Sets up an include guard for the current CMake file (see the
:variable:`CMAKE_CURRENT_LIST_FILE` variable documentation).
CMake will end its processing of the current file at the location of the
-:command:`include_guard` command if the current file has already been
+``include_guard`` command if the current file has already been
processed for the applicable scope (see below). This provides functionality
similar to the include guards commonly used in source headers or to the
``#pragma once`` directive. If the current file has been processed previously
diff --git a/Help/command/install.rst b/Help/command/install.rst
index d036a20..126888a 100644
--- a/Help/command/install.rst
+++ b/Help/command/install.rst
@@ -32,7 +32,7 @@ are executed in order during installation.
.. versionchanged:: 3.22
The environment variable :envvar:`CMAKE_INSTALL_MODE` can override the
- default copying behavior of :command:`install()`.
+ default copying behavior of ``install()``.
There are multiple signatures for this command. Some of them define
installation options for files and targets. Options common to
diff --git a/Help/command/return.rst b/Help/command/return.rst
index 795dbeb..bb6d87d 100644
--- a/Help/command/return.rst
+++ b/Help/command/return.rst
@@ -30,7 +30,7 @@ command. All arguments are ignored unless that policy is set to ``NEW``.
with the :command:`block` command, as described below.
The ``PROPAGATE`` option can be very useful in conjunction with the
- :command:`block` command. A :command:`return` will propagate the
+ :command:`block` command. A ``return`` will propagate the
specified variables through any enclosing block scopes created by the
:command:`block` commands. Inside a function, this ensures the variables
are propagated to the function's caller, regardless of any blocks within
diff --git a/Help/command/try_compile.rst b/Help/command/try_compile.rst
index 6ae245f..52c0ae8 100644
--- a/Help/command/try_compile.rst
+++ b/Help/command/try_compile.rst
@@ -271,7 +271,7 @@ Other Behavior Settings
If :policy:`CMP0083` is set to ``NEW``, then in order to obtain correct
behavior at link time, the ``check_pie_supported()`` command from the
:module:`CheckPIESupported` module must be called before using the
- :command:`try_compile` command.
+ ``try_compile`` command.
The current settings of :policy:`CMP0065` and :policy:`CMP0083` are propagated
through to the generated test project.