Hello! I have a function like
FUNCTION (MY_FUNC list)
MESSAGE ("..${list}")
ENDFUNCTION ()
And I call it like:
SET (list 11 22 33 44 55)
MY_FUNC (list)
and output is:
..11
How I can work with lists or unknown number of arguments in functions?
_______________________________________________
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