[CMake] Custom targets that traverse subdirectories

EXT-York, Gantry gantry.york at boeing.com
Wed Nov 9 17:20:16 EST 2011


How do I define a custom target and have it traverse the source tree?

I'm using

add_custom_target(
    specialtest
    COMMAND rel/path/to/test_script
)

However, I need to add other commands to this target that come from scripts in subdirectories.



Gantry York
Chandler, Arizona

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20111109/774ceaac/attachment.htm>


More information about the CMake mailing list