diff options
author | Brad King <brad.king@kitware.com> | 2023-08-16 18:45:37 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2023-08-16 18:45:54 (GMT) |
commit | ec4ef92f2f30c5ab268a407b8115eba2be6aee35 (patch) | |
tree | 78c7b14a704a5bdb4313ef7a8b72bab712ec7c31 /Help | |
parent | a705eb963c7e31cd8e34f7b813f007f8be78f84d (diff) | |
parent | 136edadad4a49955c32b0e0bb759b32447356ecc (diff) | |
download | CMake-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.rst | 7 | ||||
-rw-r--r-- | Help/command/try_run.rst | 5 |
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>`` |