[CMake] Disabling IF strict checking

Bill Hoffman bill.hoffman at kitware.com
Sat May 24 08:17:47 EDT 2008


Alan W. Irwin wrote:
> On 2008-05-23 22:43-0400 Bill Hoffman wrote:
> 
>> This is the default in CMake 2.6, you don't need to specify the 
>> statement in the endif.
> 
> If you do specify something, is it checked?
> 
> e.g., will CMake-2.6.0 continue to find badly nested if statements
> like
> 
> if(whatever0)
> if(whatever1)
> endif(whatever0)
> endif(whatever1)
>
If you specify it will find stuff like that, if you leave it off it will 
ignore.

-Bill


More information about the CMake mailing list