mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-01-21 21:20:07 -05:00
Add helper script to [re]build all QtCreator projects
This commit is contained in:
parent
73cd4f9718
commit
0f0035e37c
19
Builds/QtCreator/build_all.sh
Executable file
19
Builds/QtCreator/build_all.sh
Executable 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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user