[CMake] some comments on the LIST command

Alexander Neundorf a.neundorf-work at gmx.net
Wed May 10 03:00:53 EDT 2006


Hi, 
 
yesterday I played a bit with the new LIST command in 2.4.1, and here are 
some comments: 
 
-the REMOVE and REMOVE_ITEMS sub commands, while obvious, are not 
documented in the help 
 
-in the docs the list variable is sometimes called LIST and sometimes 
called VAR 
 
-why does an access beyond the end of the list fail with a cmake error ? 
I would have expected to get an empty or FALSE or NOTFOUND value. This 
would make using it easier 
 
-the LIST command does not work on ARGN. Is this intentional ? 
 
-why is LIST( SET ...) not called LIST(APPEND ... ) ? 
 
-is LIST(SET mySrcs foo.cpp) faster than SET(mySrcs ${mySrcs} foo.cpp) ? 
 
But beside the nitpicking, a nice addition to cmake :-) 
 
Bye 
Alex 
 
 

-- 
Echte DSL-Flatrate dauerhaft für 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl


More information about the CMake mailing list