simple make wrapper to give quiet output. (more like nan-makefiles)
authorCampbell Barton <ideasman42@gmail.com>
Mon, 20 Dec 2010 11:21:29 +0000 (11:21 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 20 Dec 2010 11:21:29 +0000 (11:21 +0000)
build_files/cmake/example_scripts/make_quiet.sh [new file with mode: 0755]

diff --git a/build_files/cmake/example_scripts/make_quiet.sh b/build_files/cmake/example_scripts/make_quiet.sh
new file mode 100755 (executable)
index 0000000..602d165
--- /dev/null
@@ -0,0 +1,6 @@
+#!/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/^.*\//  /'
+echo "Build Done"