On Thursday 18 May 2006 19:56, Ken Martin wrote: > I incorporated some changes from Lloyd's patch and committed it to CVS. > Basically if a project sets CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS on then you > can leave off the arguments for the endif endwhile, else and endforeach > commands. For example: > > if (FOO AND BAR) > else () > endif () > > The parenthesis are still required. I'm not sure what everyone's thoughts > are on this but there it is... >
That's nice already - changing 3 times the conditions in a if-else-endif construct was quite boring :-) Do you plan to also remove the parenthesis in a future release ? Gaetan
pgptrEXOFyGXP.pgp
Description: PGP signature
_______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
