CMake-generated code emits progress information when being executed by make/ninja. Since any make/ninja-run is basically wrapped by a KJob instance, we could try parsing the output of make/ninja and set the progress information using KJob-API. We could then later re-use this information in order to show a progress bar for these jobs. Currently, make/ninja jobs are not displayed in the status bar, which should be easy to enable, though. Reproducible: Always Steps to Reproduce: 1. Build target Actual Results: Nothing displayed in the status bar Expected Results: Progress bar pops up in the status bar, showing progress information of the build job.
Disambiguating that a bit: For make jobs: - Output might not contain progress information. It depends on whether CMake was used to generate the Makefiles and -DCMAKE_COLOR_MAKEFILE=OFF was not specified. For ninja jobs: - Always(?) shows progress information in the form of "[1/10] ...\n[2/12]...\n...", etc. So we can always enable parsing this output in the ninja plugin.
Implemented for the Ninja builder. Will be part of 5.0.0.
Implemented for Make, too.