Rev 813 |
Go to most recent revision |
Blame |
Compare with Previous |
Last modification |
View Log
| RSS feed
#!/bin/bash
QMAKE="qmake-mac"
MAKEOPT=""
case "$1" in
"beta")
CONFIG=""
;;
*)
CONFIG="CONFIG-=debug"
;;
esac
# QMK-Communicator erstellen
######################
cd ./QMK-Communicator
${QMAKE} QMK-Communicator.pro ${CONFIG}
make clean
make ${MAKEOPT}
cd ..
cd ./QMK-Settings
${QMAKE} QMK-Settings.pro ${CONFIG}
make clean
make ${MAKEOPT}
cd ..
cd Binary
macdeployqt QMK-Settings.app
echo Copying QKM-Settings...
cp QMK-Settings.app/Contents/MacOS/* QMK-Communicator.app/Contents/MacOS/.
echo Copying frameworks...
echo "cp -R QMK-Settings.app/Contents/Frameworks/ QMK-Communicator.app/Contents/Frameworks"
cp -R QMK-Settings.app/Contents/Frameworks/ QMK-Communicator.app/Contents/Frameworks
cd ..
cd ./QMK-Maps
${QMAKE} QMK-Maps.pro ${CONFIG}
make clean
make ${MAKEOPT}
cd ..
cd Binary
macdeployqt QMK-Maps.app
echo Copying QMK-Maps...
cp QMK-Maps.app/Contents/MacOS/* QMK-Communicator.app/Contents/MacOS/.
echo Copying frameworks...
echo "cp -R QMK-Maps.app/Contents/Frameworks/ QMK-Communicator.app/Contents/Frameworks"
cp -R QMK-Maps.app/Contents/Frameworks/ QMK-Communicator.app/Contents/Frameworks
cd ..
#cd ./QMK-Scope
#${QMAKE} QMK-Scope.pro CONFIG+=OSX CONFIG-=debug
#make clean
#make ${MAKEOPT}
#cd ..
#cd Binary
#macdeployqt QMK-Scope.app
#cp QMK-Scope.app/Contents/MacOS/* QMK-Communicator.app/Contents/MacOS/.
#cp -R QMK-Scope.app/Contents/Frameworks/* QMK-Communicator.app/Contents/Frameworks
#cd ..
#cd ./QMK-Voice
#${QMAKE} QMK-Voice.pro ${CONFIG}
#make clean
#make ${MAKEOPT}
#cd ..
#cd ./QMK-Logger
#${QMAKE} QMK-Logger.pro ${CONFIG}
#make clean
#make ${MAKEOPT}
#cd ..
#cd ./QMK-Control
#${QMAKE} QMK-Control.pro CONFIG+=OSX ${CONFIG}
#make clean
#make ${MAKEOPT}
#cd ..
cd Binary
macdeployqt QMK-Communicator.app -dmg