El Miércoles 10 Septiembre 2008ES 05:51:39 kalyan escribió:
> Hi list,
> I have been looking for a way to show to the user the status of the
> compilation (like 40% complete) in my build system.
> I know its tricky (
> http://lists.gnu.org/archive/html/help-make/2006-09/msg00026.html) but has
> anyone made a progress on the lines of "make -n" or something else?

As an example, CMake, a Makefile generator, does print progress information 
because it knows beforehand how many tasks it has. It then writes some files 
containing the percentage to be included in every task of the Makefile. You 
can inspect some CMake generated Makefiles to see how it is done. However I'm 
afraid the answer is that you (or a script) have to insert those percentages 
into every task.

Alberto


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to