SCons Tricks
Local
External
Raw Notes
read just before SConsript file is executed:
b /usr/lib/scons/SCons/Script/SConscript.py:244
SCons.Memoize.File f
f.rfile() : This may mean 'repository version of path to the file'
f.rfile().get_abspath()
f.rfile().dir.abspath : full path to Proj directory (to where it really is)
f.get_abspath()
f.abspath : full path to file, sort of, really a strange arch dir
f.dir
f.dir.get_abspath()
SCons.Memoize.Dir d
d.abspath
SCons.Memoize.FS F
F.getcwd() : SCons.Memoize.Dir
F.getcwd().abspath : a path
SCons.Node.FS.File f
f.explain()
f.tpath : path to the target it defines
SCons.Script.SConscript.SConsEnvironment env
env.get('$LIBDIR') : shows the value for key '$LIBDIR'
env.items() : shows all key value pairs
Multiple ways to build the same target were specified for
This message is printed in /usr/lib/scons/SCons/Builder.py
Currently it occurs 2 times, and break points for them are:
b /usr/lib/scons/SCons/Builder.py:286
b /usr/lib/scons/SCons/Builder.py:307
Errors
Tricks
| Type | Thing | Description |
| SCons.Node.FS.Entry |
e.tpath |
Target relative path and file |