I have an SConscript which is being copied to a build directory (variant_dir = ...
) for construction. As a workaround for not being able to express dependencies, I'm trying to copy some additional files into the build directory.
How do I determine what the current build directory is, within an SConscript?
For instance, in the following layout, the inner SConscript file should set my_build_directory
as, "build/something."
project/
SConstruct # "SConscript('something/SConscript', variant_dir = 'build/something')
something/
SConscript # "my_build_directory = ..."