[Scons-users] Generated sources

Bill Deegan bill at baddogconsulting.com
Tue Dec 8 10:29:59 EST 2015


Rob,

Doesn't the swig builder return all the proper File Nodes?
An
env.Depends(my jar, output of swig) should then be sufficient.
Or you can filter the output File nodes by file extension and make sure
they get passed to your env.Jar()

-Bill


On Tue, Dec 8, 2015 at 10:13 AM, Rob Boehne <robb at datalogics.com> wrote:

> Scons users,
>
> I have a project that takes C++ classes, and using SWIG, generates Java
> sources compiled and packaged into jar files.
> Currently this project re-executes scons to ensure the sources are
> generated before the dependency tree containing the Java sources is created.
> A while ago, when the SCons Wiki was in a different place, I recall seeing
> a reference to a technique that generated a file containing a list of the
> generated sources, but recently I’ve been unable to find any references to
> this.
> Can anyone point me in the right direction?  An example would be stellar.
>
> Thanks,
>
> Rob Boehne
>
>
>
> _______________________________________________
> 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/20151208/f555cb36/attachment.html>


More information about the Scons-users mailing list