[cmake-developers] Suggestion: CMAKE_TOOLCHAIN_FILE warning improvement

Rolf Eike Beer eike at sf-mail.de
Wed Apr 10 10:30:39 EDT 2013


Am 10.04.2013 16:17, schrieb Brad King:
> On 04/10/2013 07:20 AM, Stephen Kelly wrote:
>> Is there any reason this variable shouldn't be special-cased in the 
>> unused
>> variable handling? If the special case is spelled correctly, it 
>> should be
>> fine.
> 
> If you want to add a whitelist to suppress the warning that's fine 
> with me.

I think what Stephen had in mind (I really hope he had *g*) is to show 
a different warning in that case, telling the user that the toolchain 
file is ignored on any subsequent run.

Eike



More information about the cmake-developers mailing list