[Scons-users] elapsed time for building a library (including related object files)

Aníbal Chehayeb anibal.chehayeb at gmail.com
Sun Feb 24 08:15:57 EST 2013


Hi all,

I'm trying to calculate the time that takes building each (static) library
defined in my project (including the time it takes compiling the sources
each library depends on).

I've tried to use AddPreAction()/AddPostAction() for each library. But it
doesn't work as AddPreAction() is called once all the source files the
library depends on have been compiled (which makes sense).

I've looked at some suggestions in stackoverflow but the solutions given
consist of dumping all the times to a log file and then parse that file.
But the log file looks really messy as I'm using parallel building.

Is there an alternative way for doing this?

Thanks,
Anibal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20130224/0eaca7ff/attachment.html>


More information about the Scons-users mailing list