Subversion Repositories Projects

Rev

Rev 801 | Rev 906 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

#!/bin/sh

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
cp QMK-Settings.app/Contents/MacOS/* QMK-Communicator.app/Contents/MacOS/.
cd ..

cd ./QMK-Maps
${QMAKE} QMK-Maps.pro ${CONFIG}
make clean
make ${MAKEOPT}
cd ..
cd Binary
macdeployqt QMK-Maps.app
cp QMK-Maps.app/Contents/MacOS/* QMK-Communicator.app/Contents/MacOS/.
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/.
#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