[CMake] elseif request

Filipe Sousa filipe at ipb.pt
Sat Sep 16 18:05:34 EDT 2006

Brandon J. Van Every wrote:
> Alan W. Irwin wrote:
> You can make a feature request with http://www.cmake.org/Bug/
> The bug tracker, which contains the feature requests, is also searchable.
> I do not agree that it's an obvious extension to the CMake language.  If 
> elseif is introduced as you describe above, then conditions 2..n have no 
> matching condition.  It is the CMake language style to force the user to 
> bracket their conditional with matching conditions.  Personally I think 

Not anymore. You can do

> this is a good design choice, especially as conditionals are nested 
> deeper and deeper, as it does prevent some user errors.

Filipe Sousa

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://public.kitware.com/pipermail/cmake/attachments/20060916/9465af4f/signature.pgp

More information about the CMake mailing list