[Scons-users] scons not respecting variant_dir with object files

Gary Granger granger at ucar.edu
Sun Jun 5 16:03:27 EDT 2016


On 06/05/2016 01:11 PM, Bob Loblaw wrote:
> #####
> src = Dir('.').srcnode().abspath + '/../mysrc.cpp'
> StaticLibrary('mylib', src)
> #####
Why do you compute the path to the source file? Does it work if you
specify just the relative path to the source file, like below?

StaticLibrary('mylib', '../mysrc.cpp')

gary

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20160605/4ffd9697/attachment.html>


More information about the Scons-users mailing list