[CMake] Re: CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS TRUE by default

Bill Hoffman bill.hoffman at kitware.com
Fri Feb 29 12:19:17 EST 2008


Ken Martin wrote:
>>>> Will Kitware consider making CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS
>>>> default to on starting with 2.6.0 and doing away with this
>>>> annoying construct?
> 
> Bill is looking into making this implicit. .e.g. if you do not specify the
> matching arguments then you are using LOOSE_LOOP_CONSTRUCTS by default. So
> folks who want it will get it, folks who do not will not get it, effectively
> automatically on a construct by construct basis.
> 

Done:

/cvsroot/CMake/CMake/Source/cmForEachCommand.cxx,v  <-- 
cmForEachCommand.cxx
new revision: 1.27; previous revision: 1.26
/cvsroot/CMake/CMake/Source/cmFunctionCommand.cxx,v  <-- 
cmFunctionCommand.cxx
new revision: 1.5; previous revision: 1.4
/cvsroot/CMake/CMake/Source/cmIfCommand.cxx,v  <--  cmIfCommand.cxx
new revision: 1.83; previous revision: 1.82
/cvsroot/CMake/CMake/Source/cmMacroCommand.cxx,v  <--  cmMacroCommand.cxx
new revision: 1.35; previous revision: 1.34
/cvsroot/CMake/CMake/Source/cmMakefile.cxx,v  <--  cmMakefile.cxx
new revision: 1.438; previous revision: 1.437
/cvsroot/CMake/CMake/Source/cmWhileCommand.cxx,v  <--  cmWhileCommand.cxx
new revision: 1.11; previous revision: 1.10

Enjoy!

-Bill


More information about the CMake mailing list