diff options
Diffstat (limited to 'build_files')
-rwxr-xr-x | build_files/cmake/example_scripts/make_quiet.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/build_files/cmake/example_scripts/make_quiet.sh b/build_files/cmake/example_scripts/make_quiet.sh index 602d165e0df..cc73ec9e649 100755 --- a/build_files/cmake/example_scripts/make_quiet.sh +++ b/build_files/cmake/example_scripts/make_quiet.sh @@ -1,6 +1,10 @@ #!/bin/bash # filters CMake output to be more like nan-makefiles -FILTER="^Scanning \|Linking \(C\|CXX\) static library \|Built target " -make $@ | grep --line-buffered -v "$FILTER" | sed -e 's/^.*\// /' +FILTER="^\[ *[0-9]*%] \|^Built target " +make $@ | \ + sed -u -e 's/^Linking .*\//Linking /' | \ + sed -u -e 's/^.*\// /' | \ + grep --line-buffered -v "$FILTER" + echo "Build Done" |