[cmake-developers] Ninja jumping progress indicator
Matthew Woehlke
matthew.woehlke at kitware.com
Mon Nov 11 11:38:44 EST 2013
On 2013-11-11 03:15, Nils Gladitz wrote:
> Could output of the ninja progress indicator be omitted for when it
> reruns cmake somehow?
> It outputs 1/1 and then goes on to report the "actual" progress e.g.
> 1/916 ...
What else can you do? Until you re-run CMake, there is no way to know
how many edges need to be executed. Even if ninja were to show the
maximum possible number of edges, that could be too small e.g. because
you've added a bunch of new targets since the last build.
That said, I also don't see what CMake could possibly do to affect this...
> The initial 1/1 confuses QtCreator which does not allow for the progress
> indicator to jump around this way:
> https://bugreports.qt-project.org/browse/QTCREATORBUG-10332
>
> They do not seem to want to work around this. Is there anything we could
> do in CMake instead?
If by "they" you mean Qt Creator, well... that's unfortunate, because
it's clearly their problem. (Maybe you could use a different IDE? ;-) I
happen to like KDevelop...)
Anyway, they seem to be looking at the progress wrong; will comment in
the bug report.
--
Matthew
More information about the cmake-developers
mailing list