[cmake-developers] Add command line options for deprecation message control
Brad King
brad.king at kitware.com
Mon Nov 9 08:49:31 EST 2015
On 11/06/2015 05:31 PM, Michael Scott wrote:
>> increments the count by default instead of only when an explicit
>> option has been set. Please revise accordingly based on the attached
>> state.
> I don't quite follow. Setting "dev" to DIAG_WARN in DiagLevels, before
> the users input is parsed (which will override the default "dev" value
The goal of the old logic was to avoid populating the settings in the
cache if they are left as default. Instead you could check whether any
"dev" value has been set *after* parsing the options and if not then
set it to the default.
Thanks,
-Brad
More information about the cmake-developers
mailing list