mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
Build tools: allow debuggable cross builds for Windows
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
4d8d0e339e
commit
72362d0993
1 changed files with 16 additions and 0 deletions
|
@ -30,6 +30,22 @@ if [[ $1 == "Qt5" ]] ; then
|
||||||
LIBGIT2DEVEL=../libgit2 CONFIG+=libgit21-api \
|
LIBGIT2DEVEL=../libgit2 CONFIG+=libgit21-api \
|
||||||
$BASEDIR/../../subsurface.pro
|
$BASEDIR/../../subsurface.pro
|
||||||
|
|
||||||
|
elif [[ $1 == "Qt5debug" ]] ; then
|
||||||
|
shift
|
||||||
|
mingw32-qmake-qt5 \
|
||||||
|
CROSS_PATH=/usr/i686-w64-mingw32/sys-root/mingw \
|
||||||
|
QMAKE_LRELEASE=/usr/i686-w64-mingw32/bin/qt5/lrelease \
|
||||||
|
QMAKE_MOC=/usr/i686-w64-mingw32/bin/qt5/moc \
|
||||||
|
QMAKE_UIC=/usr/i686-w64-mingw32/bin/qt5/uic \
|
||||||
|
QMAKE_RCC=/usr/i686-w64-mingw32/bin/qt5/rcc \
|
||||||
|
QMAKE_CFLAGS_RELEASE='$$QMAKE_CFLAGS_DEBUG -O0 -g' \
|
||||||
|
QMAKE_CXXFLAGS_RELEASE='$$QMAKE_CXXFLAGS_DEBUG -O0 -g' \
|
||||||
|
LIBDCDEVEL=../libdivecomputer \
|
||||||
|
LIBMARBLEDEVEL=../marble \
|
||||||
|
LIBGIT2DEVEL=../libgit2 CONFIG+=libgit21-api \
|
||||||
|
V=1 \
|
||||||
|
$BASEDIR/../../subsurface.pro
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
||||||
mingw32-qmake-qt4 \
|
mingw32-qmake-qt4 \
|
||||||
|
|
Loading…
Reference in a new issue