[Scons-dev] How to traverse the graph after files are read

anatoly techtonik techtonik at gmail.com
Wed Jun 3 06:54:06 EDT 2015


But I have plenty of other files in current directory. Why those are
not included?

On Wed, Jun 3, 2015 at 1:44 PM, Gary Oberbrunner <garyo at oberbrunner.com> wrote:
> Because it is a child of "." (the top dir) -- Dir nodes have all their
> existing and to-be-generated files as children.
>
> On Wed, Jun 3, 2015 at 2:10 AM, anatoly techtonik <techtonik at gmail.com>
> wrote:
>>
>> Interesting stuff. If I create an empty SConstruct:
>>
>>     Entry("xxx")
>>
>> Then `scons --tree=all` gives a tree with SConstruct
>> name included into the build graph:
>>
>>     scons: `.' is up to date.
>>     +-.
>>       +-SConstruct
>>       +-xxx
>>
>> I can understand that xxx is at the root, but why
>> SConstruct is also included?
>> _______________________________________________
>> Scons-dev mailing list
>> Scons-dev at scons.org
>> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>
>
>
>
> --
> Gary
>
> _______________________________________________
> Scons-dev mailing list
> Scons-dev at scons.org
> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>



-- 
anatoly t.


More information about the Scons-dev mailing list