[Scons-users] Emiter usage

Adam Dobrowolski pholat at gmail.com
Mon Sep 19 11:58:57 EDT 2016


I did. In example value and variant_dir are independent. I wanted to have them 
dependent. But I can store a new value in this second Environment and that 
would be fine I guess.

What I wanted to omit was copying ~10 SConscript calls just to fill in two 
variables - I thought that there might be a cleaner way of doing it. 
If there were another ifdef - for example for architecture (ARM/x86) this 
would mean the same copy again, wouldn't it?

One last question: will it work fine if I loop over all the components 
SConscripts and Glob over it's products catalog? Than instead of copying I can 
have a list of SConscripts, all I call with both setups (or more if needed) in 
for each loop.

Best regards,
Adam

On poniedziałek, 19 września 2016 16:09:02 CEST Dirk Bächle wrote:
> Pholat,
> 
> On 19.09.2016 15:28, pholat wrote:
> > Hi Dirk,
> > 
> > Thanks for response. Right now I'm using variant_dir to have temporary
> > files in place different then code and I'm in fact using it via
> > SConscript(...) call.
> > _
> > _
> > What I cant grasp is how make variant_dir's dependent on compiler
> > variable.
> 
> and did you check out the example link that I gave you?
> 
> Dirk
> 
> 
> 
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users




More information about the Scons-users mailing list