summaryrefslogtreecommitdiffstats
path: root/Help/guide
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2022-08-04 08:54:43 (GMT)
committerAlex Turbov <i.zaufi@gmail.com>2022-08-04 15:34:45 (GMT)
commitb57f27b08799a8d0bb5e0c88d99b688e0fa42896 (patch)
tree23f881be8e7663ce12828d48d66e98bdb01095e9 /Help/guide
parentd25b232dee81bca67a3a1008f6c1c8ad559b89ab (diff)
downloadCMake-b57f27b08799a8d0bb5e0c88d99b688e0fa42896.zip
CMake-b57f27b08799a8d0bb5e0c88d99b688e0fa42896.tar.gz
CMake-b57f27b08799a8d0bb5e0c88d99b688e0fa42896.tar.bz2
Help: Replace mentions of ``-T`` and ``-A`` options with role
Diffstat (limited to 'Help/guide')
-rw-r--r--Help/guide/user-interaction/index.rst13
1 files changed, 7 insertions, 6 deletions
diff --git a/Help/guide/user-interaction/index.rst b/Help/guide/user-interaction/index.rst
index 26b52c0..7339b79 100644
--- a/Help/guide/user-interaction/index.rst
+++ b/Help/guide/user-interaction/index.rst
@@ -196,7 +196,8 @@ VisualC++ compiler, or a combination of the two:
$ cmake .. -G "Visual Studio 16 2019"
Visual Studio generators can target different architectures.
-One can specify the target architecture using the `-A` option:
+One can specify the target architecture using the
+:option:`-A <cmake -A>` option:
.. code-block:: console
@@ -223,7 +224,7 @@ files several other options are available to use when
initially running :manual:`cmake(1)`.
The Visual Studio toolset can be specified with the
-``-T`` option:
+:option:`cmake -T` option:
.. code-block:: console
@@ -232,9 +233,9 @@ The Visual Studio toolset can be specified with the
$ # Build targeting Windows XP
$ cmake.exe .. -G "Visual Studio 16 2019" -A x64 -T v120_xp
-Whereas the ``-A`` option specifies the _target_
-architecture, the ``-T`` option can be used to specify
-details of the toolchain used. For example, `-Thost=x64`
+Whereas the :option:`-A <cmake -A>` option specifies the _target_
+architecture, the :option:`-T <cmake -T>` option can be used to specify
+details of the toolchain used. For example, ``-Thost=x64``
can be given to select the 64-bit version of the host
tools. The following demonstrates how to use 64-bit
tools and also build for a 64-bit target architecture:
@@ -337,7 +338,7 @@ or later on a subsequent invocation of
$ cd build
$ cmake . -DCMAKE_BUILD_TYPE=Debug
-The ``-U`` flag may be used to unset variables
+The :option:`-U <cmake -U>` flag may be used to unset variables
on the :manual:`cmake(1)` command line:
.. code-block:: console