[CMake] Performance difference between SET and LIST ?

Alexandre.Feblot at thomsonreuters.com Alexandre.Feblot at thomsonreuters.com
Wed Jul 8 14:33:49 EDT 2009


Hi,

 

with a very long list, is there a performance difference between using
SET and LIST to just declare a variable ?

 

SET (var

val1

val2

...

val2000)

 

or

 

SET(var)

LIST(APPEND var

val1

val2

...

val2000)

 

Thanks

 

Regards,

Alexandre Feblot



 



This email was sent to you by Thomson Reuters, the global news and information company.
Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090708/468e2bc3/attachment.htm>


More information about the CMake mailing list