[Scons-users] SConscripts on the fly

Spencer Yost syost at triad.rr.com
Tue May 16 10:23:34 EDT 2017


Thanks again for y'all's help a few weeks ago, we have SCons behaving pretty much as we expect. Still tweaking and playing to put together a final show and tell.

Quick history:  As you may recall, we have hundreds of packages in a reverse domain tree that encompasses 10,000+  files.  We have decided that we would prefer creating the SConscript file in each package dynamically on the fly. There are several reasons for this that I will not bore you with.

I'm trying to figure out the best way to do this. A PreAction() clearly won't work. I could use brute force and simply execute something out of the top level SConstruct where we find them and call SConscript(), but that seems like a hack.  It just "seems" like there should be a better way.

What would you folks consider to be best practice for creating SConscripts on the fly?

Thanks in advance!

Spencer Yost
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20170516/dde866de/attachment.html>


More information about the Scons-users mailing list