summaryrefslogtreecommitdiffstats
path: root/Help/command
diff options
context:
space:
mode:
authorscivision <scivision@users.noreply.github.com>2023-08-15 20:45:05 (GMT)
committerBrad King <brad.king@kitware.com>2023-08-16 14:05:53 (GMT)
commita5b292c9a64808c8e80f16f313b2dbf2faac13a0 (patch)
treedb942144c1d95a1afd98e4ee249f4eb2bf1b1ec1 /Help/command
parent969b07ba8e0bb3318aee062e37db23274f12b5c1 (diff)
downloadCMake-a5b292c9a64808c8e80f16f313b2dbf2faac13a0.zip
CMake-a5b292c9a64808c8e80f16f313b2dbf2faac13a0.tar.gz
CMake-a5b292c9a64808c8e80f16f313b2dbf2faac13a0.tar.bz2
Help:try_compile: place options in their own section
As try_compile interface was enhanced in 3.25, the Help got a lot longer. Make the options its own section for navigability.
Diffstat (limited to 'Help/command')
-rw-r--r--Help/command/try_compile.rst7
1 files changed, 6 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