cmake / 3.25 / variable / cmake_compile_warning_as_error.html

CMAKE_COMPILE_WARNING_AS_ERROR

New in version 3.24.

Specify whether to treat warnings on compile as errors.

This variable is used to initialize the COMPILE_WARNING_AS_ERROR property on all the targets.

© 2000–2022 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.25/variable/CMAKE_COMPILE_WARNING_AS_ERROR.html