summaryrefslogtreecommitdiffstats
path: root/Help/command/try_run.rst
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2022-08-04 09:45:23 (GMT)
committerAlex Turbov <i.zaufi@gmail.com>2022-08-04 15:34:45 (GMT)
commit04843d743e08beeb257f6ce781633b2a9647ab07 (patch)
tree46607d1f086a823e01f540d40ed27f2ee8891b87 /Help/command/try_run.rst
parent09446266ee701513315b483d8a0169a51b69e783 (diff)
downloadCMake-04843d743e08beeb257f6ce781633b2a9647ab07.zip
CMake-04843d743e08beeb257f6ce781633b2a9647ab07.tar.gz
CMake-04843d743e08beeb257f6ce781633b2a9647ab07.tar.bz2
Help: Replace a bunch of more ``--option`` to `:option:` role
Diffstat (limited to 'Help/command/try_run.rst')
-rw-r--r--Help/command/try_run.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Help/command/try_run.rst b/Help/command/try_run.rst
index 125b0ac..938869b 100644
--- a/Help/command/try_run.rst
+++ b/Help/command/try_run.rst
@@ -35,8 +35,8 @@ information on how the test project is constructed to build the source file.
The options are:
``CMAKE_FLAGS <flags>...``
- Specify flags of the form ``-DVAR:TYPE=VALUE`` to be passed to
- the ``cmake`` command-line used to drive the test build.
+ Specify flags of the form :option:`-DVAR:TYPE=VALUE <cmake -D>` to be passed
+ to the :manual:`cmake(1)` command-line used to drive the test build.
The example in :command:`try_compile` shows how values for variables
``INCLUDE_DIRECTORIES``, ``LINK_DIRECTORIES``, and ``LINK_LIBRARIES``
are used.