CMake/Tests/RunCMake/message/RunCMakeTest.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

11 lines
238 B
CMake

include(RunCMake)
run_cmake(defaultmessage)
run_cmake(nomessage)
run_cmake(warnmessage)
# message command sets fatal occurred flag, so check each type of error
# seperately
run_cmake(errormessage_deprecated)
run_cmake(errormessage_dev)