On Mon, Dec 21, 2009 at 11:50:43PM +0200, Iwan Aucamp wrote: > To be more precise I am trying to use objdump + objcopy to add a section > to a target if it does not already exist - if objdump -h outputs the > header to be added then objcopy is not performed - but if it does not > output the header to be added then objcopy is done.
I would just do all this in a script and call the script from a single custom_command. What benefit do you hope to get by having two separate build targets that work together to accomplish the same thing? tyler _______________________________________________ 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
