[Scons-users] Re-2: Re-2: Code generation dependency problem

Dirk Bächle tshortik at gmx.de
Mon Dec 8 03:21:14 EST 2014


Hi,

On 08.12.2014 08:45, Roman Karlstetter wrote:
> Hi Laurent,
>
> I don't think so. I tried to do so, but then scons fails to generate 
> both of the files it should generate. I think (please correct me if 
> I'm wrong) the link between source files and target files is created 
> by my emitter function:
>
that's a 100% correct, and exactly what an Emitter is there for. The 
Suffix arguments simply append a default file extension, to either the 
targets or sources when they are given without one, e.g.:

   env. Program('main', 'main')  # = Program('main','main.cpp')

Best regards,

Dirk


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20141208/ea8ded1c/attachment.html>


More information about the Scons-users mailing list