Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'build_files/cmake/example_scripts/make_quiet.sh')
-rw-r--r--build_files/cmake/example_scripts/make_quiet.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/build_files/cmake/example_scripts/make_quiet.sh b/build_files/cmake/example_scripts/make_quiet.sh
new file mode 100644
index 00000000000..9e179201541
--- /dev/null
+++ b/build_files/cmake/example_scripts/make_quiet.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+# filters CMake output to be more like nan-makefiles
+
+FILTER="^\[ *[0-9]*%] \|^Built target \|^Scanning "
+make $@ | \
+ sed -u -e 's/^Linking .*\//Linking /' | \
+ sed -u -e 's/^.*\// /' | \
+ grep --line-buffered -v "$FILTER"
+
+echo "Build Done"