[CMake] elseif request

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


Philip Lowman wrote:
>
> Requiring the user to specify "else(cond1)" and "endif(cond1)" may
> prevent a few mistakes but it also gets kinda annoying as conditionals
> get longer or change.

Agreed on being annoying as things get longer.  It's a tradeoff between 
safety and brevity.

It's *SUPPOSED* to annoy you when the conditional gets changed.  That's 
the point!  If you don't like it, you're saying you don't like the 
safety it provides.


Cheers,
Brandon Van Every



More information about the CMake mailing list