[cmake-developers] Add command line options for deprecation message control
Brad King
brad.king at kitware.com
Tue Oct 27 09:42:16 EDT 2015
On 10/24/2015 04:46 AM, Michael Scott wrote:
> I've made the first set of changes, to reapply the series of previous
> changes for the -W options, along with some tweaks to improve the
> implementation and some additional tests for the changes.
Thanks. I see some hunks, including these:
> +``-Werror=dev``
> + Make developer warnings errors.
[snip]
> - type = cmake::AUTHOR_WARNING;
> + if (!this->Makefile->IsOn("CMAKE_SUPPRESS_DEVELOPER_ERRORS"))
> + {
> + fatal = true;
> + type = cmake::AUTHOR_ERROR;
> + }
> + else if (!this->Makefile->IsOn("CMAKE_SUPPRESS_DEVELOPER_WARNINGS"))
> + {
> + type = cmake::AUTHOR_WARNING;
> + }
> + else
> + {
> + return true;
> + }
that appear to be related to warning=>error upgrade options.
Didn't we just decide to not tackle this part yet?
-Brad
More information about the cmake-developers
mailing list