[Scons-users] Post-processing of binaries

Dirk Bächle tshortik at gmx.de
Tue Apr 7 13:30:53 EDT 2015


Hi Jonathon,

On 07.04.2015 19:14, Jonathon Reinhart wrote:
> Hello all,
>
> I have various custom tools that perform some post-processing of
> binaries. In general, what is the best approach to this?
>
> A) Operate on the input file as-is
> B) Have the post-processor create a new file from the input file
>
> If A, how do I make sure SCons is aware of this, so that if the
> post-processor fails, for example, SCons knows to either delete the
> input file, or mark the build as incomplete?
>

if I would send you a binary file, without any additional information, how would you know/decide whether this file was already 
post-processed or not?

That's a +1 for B from me. ;)

Best regards,

Dirk



More information about the Scons-users mailing list