[Scons-dev] How to traverse the graph after files are read
Gary Oberbrunner
garyo at oberbrunner.com
Wed Jun 3 07:30:45 EDT 2015
On Wed, Jun 3, 2015 at 6:54 AM, anatoly techtonik <techtonik at gmail.com>
wrote:
> But I have plenty of other files in current directory. Why those are
> not included?
>
> At the end of reading the SConstruct, i.e. before the build phase begins,
SCons only creates Nodes for files it has been told about. I think if you
were to try this at the end of the build phase (register a function with
python atexit.register for instance) I think the other files would be
there. Though they might be only if "." is used as a source, I'm not sure.
--
Gary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist2.pair.net/pipermail/scons-dev/attachments/20150603/396a6851/attachment.html>
More information about the Scons-dev
mailing list