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
This commit is contained in:
Brad King
2023-08-16 18:45:37 +00:00
committed by Kitware Robot
2 changed files with 11 additions and 1 deletions
+6 -1
View File
@@ -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
+5
View File
@@ -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>``