From 0f0035e37cb625a647ff97bed18f1f7e59258119 Mon Sep 17 00:00:00 2001 From: Simon Detheridge Date: Mon, 26 Jan 2015 12:01:15 +0000 Subject: [PATCH] Add helper script to [re]build all QtCreator projects --- Builds/QtCreator/build_all.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 Builds/QtCreator/build_all.sh diff --git a/Builds/QtCreator/build_all.sh b/Builds/QtCreator/build_all.sh new file mode 100755 index 0000000..6eabff5 --- /dev/null +++ b/Builds/QtCreator/build_all.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +DIR=$( cd "$(dirname "${BASH_SOURCE[0]}" )" && pwd ) + +for PROJ in ${DIR}/{Ember,EmberCL,EmberGenome,EmberRender,EmberAnimate,Fractorium} +do + pushd $PROJ + if [ "x--rebuild" = "x$1" ]; then + make clean + fi + qmake + make -j9 + if [ "x$?" != "x0" ]; then + echo "Build failed! Check output for errors." + exit 1 + fi + popd +done +