Re: [CMake] Postprocessing output of add_custom_command

2009-12-21 Thread Tyler Roscoe
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 head

[CMake] Postprocessing output of add_custom_command

2009-12-21 Thread Iwan Aucamp
Hi I am looking for a way to chain two custom commands added to a target. 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