[Scons-users] intermediate builder step -- wish for no-build when the original files are unch

Dirk Bächle tshortik at gmx.de
Tue Jun 4 03:14:07 EDT 2013


Hi Jay,

thanks a lot for your follow-up post. I'll have some more time to look
into this tonight. For now I have a rather simple question (see below).

On 04.06.2013 02:36, Jay Damask wrote:

> Hello again.

>

> [...]

> Clean first run:

> $ scons commLib

> invokes:

> protoc --proto_path=<foo> --cpp_out=<bar> #/p/a.proto #/p/b.proto

> which makes #/p/

> a.pb.h, a.pb.cc, b.pb.h, b.pb.cc

> invokes:

> g++ -o #/b/a.pb.os #/p/a.pb.cc

> g++ -o #/b/b.pb.os #/p/b.pb.cc

> g++ <make comm_lib>

>

>

> Dirty second run:

> $ scons commLib

> invokes:

> protoc --proto_path=<foo> --cpp_out=<bar> a.proto b.proto

> which makes #/p/

> a.pb.h, a.pb.cc, b.pb.h, b.pb.cc

> build completes


"What happens if you start SCons another time, right after the second
run and without changing any sources?"

Is everything up to date then?

Regards,

Dirk




More information about the Scons-users mailing list