[Scons-users] Question about emitter

Endre Bak ebak32 at gmail.com
Thu Feb 11 13:18:11 EST 2016


Hi,

I have a small Scons script here: http://pastebin.com/D9GubHGs.
I try to model a case when there is a source code generator and its output
is not known in advance.
I have tried to solve it by creating a Builder for linking with an emitter
function. The emitter function parses the source generator's output
directory for .c files, makes Object nodes from them and appends them into
the "source".
As I see the emitter is executed when the builder is created. I guess it
should be executed when the builder is invoked.

What's the matter with my script?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20160211/beb08e18/attachment.html>


More information about the Scons-users mailing list