[Scons-users] Two different environments were specified for target
garyo at oberbrunner.com
Fri Feb 14 13:37:34 EST 2014
On Fri, Feb 14, 2014 at 12:01 PM, Philipp Kraus
<philipp.kraus at flashpixx.de>wrote:
> In my case I need something like "dependency between aliases" eg:
> A = env.Object(...)
> B = env.Program(...)
> C = env.Program(...)
> B depends on A
> C depends on A
None of those are Aliases, they're just regular nodes (or lists of nodes).
You can use A directly in your env.Program builder:
A = env.Object(a_src)
env.Program('foo', foo_srcs + A)
env.Program('bar', bar_srcs + A)
A here is an object file, so it only has one builder (the Object builder).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Scons-users