summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-08-16 18:45:37 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-08-16 18:45:54 (GMT)
commitec4ef92f2f30c5ab268a407b8115eba2be6aee35 (patch)
tree78c7b14a704a5bdb4313ef7a8b72bab712ec7c31 /Help
parenta705eb963c7e31cd8e34f7b813f007f8be78f84d (diff)
parent136edadad4a49955c32b0e0bb759b32447356ecc (diff)
downloadCMake-ec4ef92f2f30c5ab268a407b8115eba2be6aee35.zip
CMake-ec4ef92f2f30c5ab268a407b8115eba2be6aee35.tar.gz
CMake-ec4ef92f2f30c5ab268a407b8115eba2be6aee35.tar.bz2
Merge topic 'doc_tc'
136edadad4 Help:try_run: place options in their own section a5b292c9a6 Help:try_compile: place options in their own section Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8724
Diffstat (limited to 'Help')
-rw-r--r--Help/command/try_compile.rst7
-rw-r--r--Help/command/try_run.rst5
2 files changed, 11 insertions, 1 deletions
diff --git a/Help/command/try_compile.rst b/Help/command/try_compile.rst
index fbc4221..bc2b0af 100644
--- a/Help/command/try_compile.rst
+++ b/Help/command/try_compile.rst
@@ -144,7 +144,12 @@ single output directory, such that you can only debug one such ``try_compile``
call at a time. Use of the newer signature is recommended to simplify
debugging of multiple ``try_compile`` operations.
-The options are:
+.. _`try_compile Options`:
+
+Options
+^^^^^^^
+
+The options for the above signatures are:
``CMAKE_FLAGS <flags>...``
Specify flags of the form :option:`-DVAR:TYPE=VALUE <cmake -D>` to be passed
diff --git a/Help/command/try_run.rst b/Help/command/try_run.rst
index d48ab3d..1b5087d 100644
--- a/Help/command/try_run.rst
+++ b/Help/command/try_run.rst
@@ -78,6 +78,11 @@ The signature above is recommended for clarity.
[ARGS <args>...]
)
+.. _`try_run Options`:
+
+Options
+^^^^^^^
+
The options specific to ``try_run`` are:
``COMPILE_OUTPUT_VARIABLE <var>``