...
Note for SWIG: we can ultimately eliminate the *.in files
Layout of SConscript Files using the facilities package as an example
Python imports:
import os, glob
Import('baseEnv') Note the bug "I" for a SCons import. Also note that the objects are writable and changes will propogate to all.
Import('registerObjects'
...
env = baseEnv.Copy() Jim suggests supplying a function instead, Navid is planning to do that.
Now to define the facilities static library, similiarly for a shared library.
facilitiesLib = env.StaticLibrary('facilities', library name
glob.glob(os.path.join('src', '*.cxx')) glob.glob explands wildcards os.path.join inserts the appropriate slashes for each OS.
We can utilize subdirectories for the source location as well.