mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 22:31:18 -05:00
65f7053d6c
Add command-line option `--compile-no-warning-as-error` to ignore value of `COMPILE_WARNING_AS_ERROR`. Issue: #19085
14 lines
620 B
ReStructuredText
14 lines
620 B
ReStructuredText
werror-property
|
|
---------------
|
|
|
|
* Added the Target Property :prop_tgt:`COMPILE_WARNING_AS_ERROR` and the
|
|
Variable :variable:`CMAKE_COMPILE_WARNING_AS_ERROR` which initializes the
|
|
Target Property. If :prop_tgt:`COMPILE_WARNING_AS_ERROR` is true, it expands
|
|
to a different flag depending on the compiler such that any warnings at
|
|
compile will be treated as errors.
|
|
|
|
* :manual:`cmake(1)` gained the command-line option
|
|
``--compile-no-warning-as-error`` which causes the values of
|
|
the :prop_tgt:`COMPILE_WARNING_AS_ERROR` target property and
|
|
:variable:`CMAKE_COMPILE_WARNING_AS_ERROR` variable to be ignored.
|