mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 14:48:19 -05:00
Merge topic 'doc_tc'
136edadad4Help:try_run: place options in their own sectiona5b292c9a6Help:try_compile: place options in their own section Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8724
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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>``
|
||||
|
||||
Reference in New Issue
Block a user