[CMake] elseif request

Brandon J. Van Every bvanevery at gmail.com
Sun Sep 17 23:27:12 EDT 2006


Alan W. Irwin wrote:
>
> Agreed.  I wish I had known about that CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS
> variable before the CMake build system was completed for PLplot.  It 
> would
> have made my life a whole lot easier.  

"A whole lot" easier?  Just how many nested IF..ELSE..ENDIF statements 
does your code actually have?


> I don't need the closing specific
> conditions in the else() and endif() statements because I keep track 
> of if
> block nesting with indentation.

You do.  Or you think you do.  What do other people do?  Who don't think 
like you, and come in to bang on the code?


Cheers,
Brandon Van Every



More information about the CMake mailing list