mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Update build script to cross build Windows using mxe
The MinGW based script is still there for reference, but that's no longer how I build the Windows binaries. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
5b1d7541dd
commit
3a06bb37d4
1 changed files with 11 additions and 12 deletions
|
@ -148,16 +148,15 @@ if [ ! -d staging ] ; then
|
|||
cd ../..
|
||||
fi
|
||||
|
||||
export objdump=$BASEDIR/mxe/usr/bin/i686-w64-mingw32.shared-objdump
|
||||
cmake -DCMAKE_TOOLCHAIN_FILE=$BASEDIR/mxe/usr/i686-w64-mingw32.shared/share/cmake/mxe-conf.cmake \
|
||||
-DCMAKE_PREFIX_PATH=$BASEDIR/mxe/usr/i686-w64-mingw32.shared/qt5 \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DLIBDCDEVEL=$BUILDDIR/libdivecomputer \
|
||||
-DLIBGIT2DEVEL=$BUILDDIR/libgit2 \
|
||||
-DLIBMARBLEDEVEL=$BUILDDIR/marble \
|
||||
-DLRELEASE=$BASEDIR/mxe/usr/i686-w64-mingw32.shared/qt5/bin/lrelease \
|
||||
-DQT_TRANSLATION_DIR=$BASEDIR/mxe/usr/i686-w64-mingw32.shared/qt5/translations \
|
||||
-DMAKENSIS=i686-w64-mingw32.shared-makensis \
|
||||
$BASEDIR/../subsurface
|
||||
|
||||
i686-w64-mingw32.shared-qmake-qt5 \
|
||||
LIBMARBLEDEVEL=../marble \
|
||||
LIBGIT2DEVEL=../libgit2 CONFIG+=libgit21-api \
|
||||
LIBDCDEVEL=../libdivecomputer \
|
||||
QMAKE_LRELEASE=$BASEDIR/mxe/usr/i686-w64-mingw32.shared/qt5/bin/lrelease \
|
||||
SPECIAL_MARBLE_PREFIX=1 \
|
||||
MAKENSIS=i686-w64-mingw32.shared-makensis \
|
||||
$BASEDIR/../subsurface/subsurface.pro
|
||||
|
||||
|
||||
make -j12 $@
|
||||
make -j12 VERBOSE=1 $@
|
||||
|
|
Loading…
Reference in a new issue