[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: progress bar
From: |
Alberto Luaces |
Subject: |
Re: progress bar |
Date: |
Wed, 10 Sep 2008 09:41:57 +0200 |
User-agent: |
KMail/1.9.9 |
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