[Scons-users] Adding construction variables using Variable() in Scons

ArulJothi aruljothi at gmail.com
Mon Mar 24 03:37:18 EDT 2014


Friends,

I am new to Scons and hence i am probably missing something silly, Here is
my query

I am not able to add variables into construction environment using
Variables()

#################
# SConstruct
#################
var = Variables()
var.Add('myvar','1')
env = Environment()
var.Update(env)
print env.Dump()

$ scons | grep -i myvar #this prints nothing

I also tried using Environment(variables=var) with no success.

Thanks in advance,

Aruljothi.S
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://four.pairlist.net/pipermail/scons-users/attachments/20140324/e616045c/attachment.html


More information about the Scons-users mailing list