Add helper script to [re]build all QtCreator projects

This commit is contained in:
Simon Detheridge 2015-01-26 12:01:15 +00:00
parent 73cd4f9718
commit 0f0035e37c

19
Builds/QtCreator/build_all.sh Executable file
View File

@ -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