[Scons-users] VariantDir not working

Ronex Dicapriyo ronex_89 at yahoo.in
Sat Jun 28 11:19:05 EDT 2014


Hello,

I am tring to use SConscript as follows, 

SConscript(['dir_1/SConscript', 'dir_2/SConscript'], export=env)

Here when SConscript of dir_1 executes, I want it to create objects, libraries etc... under "dir_1/build" directory:

For that Inside dir_1/SConscript I am using VariantDir function as follows:

Import ('env')

VariantDir('build', 'src', duplicate=0)before calling any builder methods.


But still it created objects inside src directory. Please suggest me the solution for this issue.



Regards,
Ronex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20140628/e65cb501/attachment.html>


More information about the Scons-users mailing list