CMake/Tests/RunCMake/CommandLine/Wno-error_deprecated.cmake
Michael Scott 28f2d750ed Add -Werror and -Wno-error command-line options
Expand the -W set of cmake options to include support for the -Werror
and -Wno-error format, which is used to control upgrading and
downgrading warning and error messages. Implement support for these new
formats for the dev and deprecated message types.

Add tests and updated documentation for new options.
2016-01-12 14:02:51 -05:00

3 lines
125 B
CMake

# This should still produce a warning when -Wno-error=deprecated is specified
message(DEPRECATION "Some deprecated warning")