MXE Windows build script: Do right build flavor also for googlemaps

Do the right build flavor also for the googlemaps plugin.

Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
This commit is contained in:
Stefan Fuchs 2018-03-23 19:55:00 +01:00 committed by Lubomir I. Ivanov
parent bca7f8ed61
commit bb922e8db2

View file

@ -108,6 +108,7 @@ export CXXFLAGS=-std=c++11
if [[ "$1" == "debug" ]] ; then if [[ "$1" == "debug" ]] ; then
RELEASE="Debug" RELEASE="Debug"
RELEASE_MAIN="Debug" RELEASE_MAIN="Debug"
RELEASE_GM="debug"
DLL_SUFFIX="d" DLL_SUFFIX="d"
shift shift
if [[ -f Release ]] ; then if [[ -f Release ]] ; then
@ -117,6 +118,7 @@ if [[ "$1" == "debug" ]] ; then
else else
RELEASE="Release" RELEASE="Release"
RELEASE_MAIN="RelWithDebInfo" RELEASE_MAIN="RelWithDebInfo"
RELEASE_GM="release"
DLL_SUFFIX="" DLL_SUFFIX=""
if [[ -f Debug ]] ; then if [[ -f Debug ]] ; then
rm -rf * rm -rf *
@ -202,8 +204,8 @@ if [[ ! -d googlemaps || -f build.googlemaps ]] ; then
mkdir -p googlemaps mkdir -p googlemaps
cd googlemaps cd googlemaps
"$BASEDIR"/"$MXEDIR"/usr/i686-w64-mingw32.shared/qt5/bin/qmake PREFIX=$"$BASEDIR"/"$MXEDIR"/usr/i686-w64-mingw32.shared "$BASEDIR"/googlemaps/googlemaps.pro "$BASEDIR"/"$MXEDIR"/usr/i686-w64-mingw32.shared/qt5/bin/qmake PREFIX=$"$BASEDIR"/"$MXEDIR"/usr/i686-w64-mingw32.shared "$BASEDIR"/googlemaps/googlemaps.pro
make $JOBS make $JOBS $RELEASE_GM
make install make "$RELEASE_GM"-install
fi fi
############### ###############