I'm wondering if it makes sense to do a mass replace of

foreach(listvar ${somevar})

to

foreach(listvar IN LISTS somevar)

>From what I see this should be more efficient as the variable is not first 
expanded and then parsed again, it could save from potential trouble if e.g. 
somevar includes elements with spaces, and it should not introduce any further 
hassle.

Opinions?

Eike

Attachment: signature.asc
Description: This is a digitally signed message part.

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to