2011/2/2 Bill Hoffman <bill.hoff...@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
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to