On Wed, May 20, 2015 at 9:47 AM, anatoly techtonik <[email protected]>
wrote:
> If so, then that means that every target should
> be a filesystem object?
>
> What is target then? If it is a name, how a lookup if made to locate it in
> FS tree?
>
Every target (and source, and intermediate) is a Node. The Node object
knows everything about that node, including name, path, parent, sources,
builder, build state, and so on. There is no "lookup" in the sense you're
talking about.
If you want to get the Node object corresponding to a filename, just call
f=File("myfile") or f=File("/a/b/c/myfile") etc.
--
Gary
_______________________________________________
Scons-dev mailing list
[email protected]
https://pairlist2.pair.net/mailman/listinfo/scons-dev