Added a build specific for mac

This commit is contained in:
Xawotihs
2019-09-09 22:16:40 +02:00
committed by GitHub
parent 29b89ba562
commit bc79115985
+9 -2
View File
@@ -67,8 +67,8 @@ if [ "$BUILD_ANDROID" = "YES" ]; then
ant debug -f projects/mtg/Android/build.xml ant debug -f projects/mtg/Android/build.xml
fi fi
# we're building a Qt version with GUI here # we're building a linux Qt version with GUI here
if [ "$BUILD_Qt" = "YES" ]; then if [ "$BUILD_Qt" = "YES" ] && [ "$TRAVIS_OS_NAME" == "linux" ]; then
mkdir qt-gui-build mkdir qt-gui-build
cd qt-gui-build cd qt-gui-build
$QMAKE ../projects/mtg/wagic-qt.pro CONFIG+=release CONFIG+=graphics $QMAKE ../projects/mtg/wagic-qt.pro CONFIG+=release CONFIG+=graphics
@@ -84,3 +84,10 @@ if [ "$BUILD_Qt" = "YES" ]; then
../../wagic ../../wagic
cd ../.. cd ../..
fi fi
# we're building a mac Qt version with GUI here
if [ "$BUILD_Qt" = "YES" ] && [ "$TRAVIS_OS_NAME" == "osx" ]; then
mkdir qt-gui-build
cd qt-gui-build
$QMAKE ../projects/mtg/wagic-qt.pro CONFIG+=release CONFIG+=graphics
make -j 4 dmg
fi