A node can be used in many different files. The creation of a node is more like:

Env.File() => env.fs.file() => look up file in fs tree, if not found create a 
new one.

The main issue here is that the loop up can happen in many different places. So 
I am not sure it is clear if a given call is making a node or trying to get one 
plus even if we had every node how do we know which source is the right one use?

Jason


From: anatoly techtonik
Sent: Tuesday, November 10, 2015 12:53 PM
To: SCons developer list
Subject: Re: [Scons-dev] Show source SConscript on error


On Wed, Nov 4, 2015 at 6:07 PM, Jason Kenny <dragon...@live.com> wrote:
The node for hello.c does not exist until the Program builder function is 
called. 

Is calling Node subclass constructor is the only way nodes are created? I want 
to try keep track on them and make sure that every node is included.



-- 
anatoly t.


_______________________________________________
Scons-dev mailing list
Scons-dev@scons.org
https://pairlist2.pair.net/mailman/listinfo/scons-dev

Reply via email to