Progress bars for cmake builds
This is useful for emerge builds which can sometimes compile thousands of files using cmake đź‘€
This project has no dependencies, except you want to build the test-suite too.
cmake -B build
cmake --build build --target install
If you only want to build the program, without installing it, replace cmake_progress
by install
in the previous command.
If you want to run the test-suite too, you'll need to have criterion installed.
cmake -B build
cmake --build build --target cmake_progress_test
To run the test suite, do ./build/cmake_progress_test
.
The program reads the stdin and outputs it to the standard output, except for cmake output. The cmake output is replaced by a progress bar (hence the name of this program) :
sudo emerge -a dev-libs/libgit2 | cmake_progress