From 88c9d6f6eb2307aa083845246a7182e8dc0906fd Mon Sep 17 00:00:00 2001 From: Kyle Edwards Date: Wed, 14 Oct 2020 15:16:49 -0400 Subject: Help: Add documentation for debug field Oops! --- Help/manual/cmake-presets.7.rst | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/Help/manual/cmake-presets.7.rst b/Help/manual/cmake-presets.7.rst index c93df20..c24b74e 100644 --- a/Help/manual/cmake-presets.7.rst +++ b/Help/manual/cmake-presets.7.rst @@ -263,6 +263,26 @@ Format ``-Wno-error=deprecated`` on the command line. This may not be set to ``true`` if ``warnings.deprecated`` is set to ``false``. + ``debug`` + + An optional object specifying debug options. The object may contain the + following fields: + + ``output`` + + An optional boolean. Setting this to ``true`` is equivalent to passing + ``--debug-output`` on the command line. + + ``tryCompile`` + + An optional boolean. Setting this to ``true`` is equivalent to passing + ``--debug-trycompile`` on the command line. + + ``find`` + + An optional boolean. Setting this to ``true`` is equivalent to passing + ``--debug-find`` on the command line. + As mentioned above, some fields support macro expansion. Macros are recognized in the form ``${}``. All macros are evaluated in the context of the preset being used, even if the macro is in a -- cgit v0.12