mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Out of tree cross build for Windows
This way I can have a different directory from where I build Windows binary without interfering with my native build in the source directory. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
1b070de1aa
commit
01a185979e
1 changed files with 4 additions and 2 deletions
|
@ -8,8 +8,10 @@
|
|||
|
||||
# force recreation of the nsi file in order to get the correct version
|
||||
# number
|
||||
rm packaging/windows/subsurface.nsi > /dev/null 2>&1
|
||||
BASEDIR=$(dirname $0)
|
||||
rm $BASEDIR/subsurface.nsi > /dev/null 2>&1
|
||||
|
||||
export PATH=/usr/i686-w64-mingw32/sys-root/mingw/bin:$PATH
|
||||
mingw32-qmake-qt4 CROSS_PATH=/usr/i686-w64-mingw32/sys-root/mingw LIBGIT2DEVEL=../libgit2 CONFIG+=libgit21-api
|
||||
mingw32-qmake-qt4 CROSS_PATH=/usr/i686-w64-mingw32/sys-root/mingw \
|
||||
LIBGIT2DEVEL=../libgit2 CONFIG+=libgit21-api $BASEDIR/../../subsurface.pro
|
||||
mingw32-make $@
|
||||
|
|
Loading…
Add table
Reference in a new issue