[Scons-users] dependencies when you define environment variables

TOM TANNER (BLOOMBERG/ LONDON) ttanner2 at bloomberg.net
Wed Jul 18 09:51:59 EDT 2012



> Well, your builder will also take env var overrides, so it's mostly not any

> different from Command.

It can?

So I can do
builder = Builder('something that requires env set',
ENV = env['ENV'] + ( 'VARIABLENAME': '${SOURCE.dir}')
?

(I realise that + is not the appropriate operator here)


> I think what you're saying is having to manipulate env[ENV] before calling

> the builder each time is annoying. Is that right?

That is true too



More information about the Scons-users mailing list