Back to Cmake

Warnings Properties

Help/manual/presets/warnings-properties.rst

4.4.02.9 KB
Original Source

.. This file was generated by Utilities/Scripts/regenerate-presets.py from Help/manual/presets/schema.yaml. Do not edit.

.. _CMakePresets.configurePresets.warnings.author:

author .. presets-versionadded:: 12

An optional boolean. Equivalent to passing :option:-Wauthor <cmake -W> or :option:-Wno-author <cmake -Wno-> on the command line. This may not be set to false if errors.author is set to true.

.. _CMakePresets.configurePresets.warnings.deprecated:

deprecated An optional boolean. Equivalent to passing :option:-Wdeprecated <cmake -W> or :option:-Wno-deprecated <cmake -Wno-> on the command line. This may not be set to false if errors.deprecated is set to true.

.. _CMakePresets.configurePresets.warnings.dev:

dev .. presets-versionremoved:: 12

An optional boolean. Equivalent to passing :option:-Wdev <cmake -W> or :option:-Wno-dev <cmake -Wno-> on the command line. This may not be set to false if errors.dev is set to true.

.. _CMakePresets.configurePresets.warnings.experimental:

experimental .. presets-versionadded:: 12

An optional boolean. Equivalent to passing :option:-Wexperimental <cmake -W> or :option:-Wno-experimental <cmake -Wno-> on the command line. This may not be set to false if errors.experimental is set to true.

.. _CMakePresets.configurePresets.warnings.installAbsoluteDestination:

installAbsoluteDestination .. presets-versionadded:: 12

An optional boolean. Equivalent to passing :option:-Winstall-absolute-destination <cmake -W> or :option:-Wno-install-absolute-destination <cmake -Wno-> on the command line. This may not be set to false if errors.installAbsoluteDestination is set to true.

.. _CMakePresets.configurePresets.warnings.policy:

policy .. presets-versionadded:: 12

An optional boolean. Equivalent to passing :option:-Wpolicy <cmake -W> or :option:-Wno-policy <cmake -Wno-> on the command line. This may not be set to false if errors.policy is set to true.

.. _CMakePresets.configurePresets.warnings.uninitialized:

uninitialized An optional boolean. Equivalent to passing :option:-Wuninitialized <cmake -W> or :option:-Wno-uninitialized <cmake -Wno-> on the command line. This may not be set to false if errors.uninitialized is set to true.

.. _CMakePresets.configurePresets.warnings.unusedCli:

unusedCli An optional boolean. Equivalent to passing :option:-Wunused-cli <cmake -W> or :option:-Wno-unused-cli <cmake -Wno-> on the command line. This may not be set to false if errors.unusedCli is set to true.

.. _CMakePresets.configurePresets.warnings.systemVars:

systemVars An optional boolean. Setting this to true is equivalent to passing :cmake-option:--check-system-vars on the command line.