28f2d750ed
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.
11 lines
238 B
CMake
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)
|