[CMake] Recursively calling a macro: Is this possible in CMake?
Robert Dailey
rcdailey at gmail.com
Fri Jan 16 18:39:23 EST 2009
Hi,
Suppose I have a macro that rougly behaves like this:
macro( foo )
list( APPEND my_list <something> )
if( <foo's length is less than certain number> )
foo()
endif()
endmacro()
How would this be processed in CMake? Obviously you couldn't inline this
macro because it's recursive. I need to do something like this to
recursively iterate target dependencies and append all of their includes to
a single, flattened list.
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090116/5a5ae965/attachment.htm>
More information about the CMake
mailing list