[CMake] New warnings in CMake 2.8.4-rc2
Eric Noulard
eric.noulard at gmail.com
Wed Feb 2 11:46:10 EST 2011
2011/2/2 Bill Hoffman <bill.hoffman at kitware.com>:
> On 2/2/2011 11:14 AM, Emmanuel Blot wrote:
>>>
>>> Currently, there is no way to turn this off.
>>
>> Very, very bad news ;-(
>> IMHO, this is a recurrent issue with CMake. It seems the
>
> I was wrong. Please read Brad King's posts on this, and then see if it
> answers your questions.
I think nothing has been switch ON by default **but** the check of command
line defined options, as Brad said:
>> - User passes -DCMAKE_BIULD_TYPE on the command line and gets a warning
>> because it is misspelled and therefore unused. This is ON by default
>> but can be disabled with --no-warn-unused-cli, or by *gasp* not passing
>> unused variables.
Now frankly I still agree that the default should be to switch it OFF and
put it ON using a new policy and/or switch it ON using
--warn-unused-cli
--
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
More information about the CMake
mailing list