[Scons-users] Question about emitter

Bill Deegan bill at baddogconsulting.com
Thu Feb 11 14:25:35 EST 2016


Endre,

You will probably want to read:
https://bitbucket.org/scons/scons/wiki/DynamicSourceGenerator

As well as:
https://bitbucket.org/scons/scons/wiki/ToolsForFools
and
https://bitbucket.org/scons/scons/wiki/SconsProcessOverview

Have you read either the Users's Guide or the Manpage?
Your SConstruct is a mix of SCons and calling os.system and mkdir and glob.

-Bill



On Thu, Feb 11, 2016 at 10:18 AM, Endre Bak <ebak32 at gmail.com> wrote:

> 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?
>
>
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20160211/513b66e6/attachment.html>


More information about the Scons-users mailing list