[Scons-users] Caching and variant_dir

Dirk Bächle tshortik at gmx.de
Tue Nov 24 02:33:56 EST 2015


Bill,

On 24.11.2015 04:41, Bill Deegan wrote:
> What if you explicitly use VariantDir call to map the dir to a build dir?
> http://scons.org/doc/production/HTML/scons-man.html
> (Search for VariantDIr())

one could try that, I guess. But then you have to specify the "build/ext.o" as output in your SConstructs/SConscripts explicitly 
(note how the name of the build dir is hardwired into the full relative path). You can't simply setup just another build variant by 
copy-pasting the SConscript/variant_dir call and providing another build path. This is the route to mayhem, in my opinion...it might 
work, but I'd stay away from it.

Best regards,

Dirk



More information about the Scons-users mailing list