ruslo / polly

:wrench: Collection of CMake toolchain files and scripts for cross-platform build and CI testing (GCC, Visual Studio, iOS, Android, Clang analyzer, sanitizers etc.)
BSD 2-Clause "Simplified" License
862 stars 191 forks source link

Suggestion to add --output_filter option #312

Closed tony84727 closed 5 years ago

tony84727 commented 5 years ago

This PR is just a suggestion, feel free to close it if it's not desired. The adds --output_filter option to specify what program to use to filter output(input from stdin, output stdout and stderr, like shell piping).

The "filter" is applied to handle generate and build command output. The log file will have "transformed" output.

See the discussion in #311.


Example usage: xcpretty The output format is decided by the "filter program" though.