Nicolas-Reyland / cmake-progress

Progress bars for cmake builds

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cmake-progress

Progress bars for cmake builds

This is useful for emerge builds which can sometimes compile thousands of files using cmake đź‘€

Installation

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.

Usage

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

About

Progress bars for cmake builds

License:Apache License 2.0


Languages

Language:C 93.2%Language:CMake 6.8%