This is funny:
FUNCTION(build var)
        MESSAGE(STATUS "var: " ${${var}})
ENDFUNCTION(build)

SET(var red blue yellow green)
build(var)

Output:
-- var: var

SET(varX red blue yellow green)
build(varX)
Output:
-- var: redblueyellowgreen

Greetings
Micha


_______________________________________________
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://www.cmake.org/mailman/listinfo/cmake

Reply via email to