[Scons-users] VariantDir Function

Harry Cruise princeharry_89 at yahoo.com
Mon Jun 16 03:15:04 EDT 2014


Hi,

1) what is the significance of VariantDir function with ellipsis(...) ?
Referring manual I didn't see any description about it ?

2) If I use,
envDebug =  Environment()
if os.name == 'posix':
    envDebug.Append(CPPFLAGS = '-g')
else:
    envDebug.Append(CPPFLAGS = ['Zi', 'EHsc', 'MTd'])    # EHsc always generate warning -- Any fix for this ?

#and call the SConscript
SConscript('src/SConscript', export=envDebug, variant_dir='Lib/debug', duplicate=0)

How can I use 'Lib/debug' or retrieve the value of variant_dir used in SConscript function call ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20140616/7c7dc34f/attachment.html>


More information about the Scons-users mailing list