[Scons-users] SCons stays in top-level directory or not?

Dan Pidcock dan.pidcock at googlemail.com
Fri Feb 8 07:56:16 EST 2013


The SCons user guide section '14.2 Path Names Are Relative to the
SConscript Directory' states:
"Second, unlike standard recursive use of Make, SCons stays in the
top-level directory (where the SConstruct file lives) and issues
commands that use the path names from the top-level directory to the
target and source files within the hierarchy."

Is this correct?
When I do print os.getcwd() from a SConscript it prints the variant
directory that the SConscript is in, also
http://stackoverflow.com/a/1462129/12663 says that printing . in the
SCons way also prints the variant directory.

Dan


More information about the Scons-users mailing list