[Scons-users] Two different environments were specified for target

Philipp Kraus philipp.kraus at tu-clausthal.de
Fri Feb 14 14:14:07 EST 2014



Am 14.02.2014 um 19:37 schrieb Gary Oberbrunner <garyo at oberbrunner.com>:



> 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).


That's nice, imho I can put only physical files to the source, but this seems to be the solution for my problem

Thanks

Phil


-----------------------------------------------------
Dipl.-Inf. Philipp Kraus
Clausthal University of Technology
Department of Informatics
Julius-Albert-Str. 4, Room 211
D-38678 Clausthal-Zellerfeld

Phone: +49 - 5323 / 72-7109
EMail: philipp.kraus at tu-clausthal.de



More information about the Scons-users mailing list