[Scons-users] check target must be build / is up-to-date

Philipp Kraus philipp.kraus at flashpixx.de
Thu Jun 20 18:21:59 EDT 2013


Hello,

can I check if a target must be build again?
I have got something like

x = env.Builder("test", [sources])
if x.must_build() :
do something if the target must be build
else :
do something if the target is up-to-date

Thanks

Phil


More information about the Scons-users mailing list