synched with trunk at revision 36569
[blender.git] / build_files / cmake / example_scripts / make_quiet.sh
1 #!/bin/bash
2 # filters CMake output to be more like nan-makefiles
3
4 FILTER="^\[ *[0-9]*%] \|^Built target \|^Scanning "
5 make $@ | \
6                 sed -u -e 's/^Linking .*\//Linking /' | \
7                 sed -u -e 's/^.*\//  /' | \
8                 grep --line-buffered -v "$FILTER"
9
10 echo "Build Done"