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

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


Hello,

I get the warning "scons: warning: Two different environments were specified for target", but I don't know any idea to solve it.

My project has got different parts:

/core
/service
/tests

tests and service depends on core, so my build command shows
env.Program("service", source=["service.cpp"]+Glob("../core/*.cpp"))
(equal call for tests).
service & tests have got own sub SConstructs.

How can I solve the problem with the warning?

Thanks

Phil


More information about the Scons-users mailing list