109,115d108
< # Ask SCons which directory it was invoked from.
< launch_dir = GetLaunchDir()
<
< # Make targets relative to invocation directory
< abs_targets = map(lambda x: os.path.normpath(joinpath(launch_dir, str(x))),
< BUILD_TARGETS)
<
144a138,150
> # Generate absolute paths to targets so we can see where the build dir is
> if COMMAND_LINE_TARGETS:
> # Ask SCons which directory it was invoked from
> launch_dir = GetLaunchDir()
> # Make targets relative to invocation directory
> abs_targets = map(lambda x: os.path.normpath(joinpath(launch_dir, str(x))),
> COMMAND_LINE_TARGETS)
> else:
> # Default targets are relative to root of tree
> abs_targets = map(lambda x: os.path.normpath(joinpath(ROOT, str(x))),
> DEFAULT_TARGETS)
>
>