mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
bca7f8ed61
commit
bb922e8db2
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
###############
|
###############
|
||||||
|
|
Loading…
Add table
Reference in a new issue