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.
This commit is contained in:
scivision
2023-08-15 16:45:05 -04:00
committed by Brad King
parent 969b07ba8e
commit a5b292c9a6

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