Browse Source

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.
scivision 2 years ago
parent
commit
a5b292c9a6
1 changed files with 6 additions and 1 deletions
  1. 6 1
      Help/command/try_compile.rst

+ 6 - 1
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