cmake/Help/prop_tgt/COMPILE_WARNING_AS_ERROR.rst
2022-08-04 22:12:04 +02:00

11 lines
336 B
ReStructuredText

COMPILE_WARNING_AS_ERROR
------------------------
.. versionadded:: 3.24
Specify whether to treat warnings on compile as errors.
If enabled, adds a flag to treat warnings on compile as errors.
This property is initialized by the value of the variable
:variable:`CMAKE_COMPILE_WARNING_AS_ERROR` if it is set when a target is created.