I have an SCons project set up as follows:
Project/
SConstruct # "SConscript('stuff/SConscript', variant_dir = 'build')
stuff/
SConscript # "import configuration"
configuration/
__init__.py
Thing.py
When building, the SConscript is copied to the build directory, but the "configuration" module is not. Ordinarily, one would express a file dependency with the Depends()
function (e.g. Depends(program, object_files)
). In this case, though, the SConscript file is itself the "target" of the dependency.
How do I express this in my SConscript?