mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
build-system: allow building only a 64bit Windows installer
This is simply a time optimization that is sometimes useful Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
10a026b2ff
commit
69e7baf682
1 changed files with 11 additions and 10 deletions
|
@ -31,14 +31,15 @@ bash -ex ../subsurface/packaging/windows/smtk2ssrf-mxe-build.sh -a -i
|
|||
|
||||
mv smtk-import/smtk2ssrf-$VERSION.exe /__w
|
||||
|
||||
# build the 32bit installer
|
||||
cd /__w
|
||||
rm -rf win32
|
||||
mkdir win32
|
||||
cd win32
|
||||
|
||||
# build Subsurface and then smtk2ssrf
|
||||
export MXEBUILDTYPE=i686-w64-mingw32.shared
|
||||
bash -ex ../subsurface/packaging/windows/mxe-based-build.sh installer
|
||||
mv subsurface/subsurface-$VERSION.exe /__w/subsurface-32bit-$VERSION.exe
|
||||
if [ "$1" != "-64only" ] ; then
|
||||
# build the 32bit installer
|
||||
cd /__w
|
||||
rm -rf win32
|
||||
mkdir win32
|
||||
cd win32
|
||||
|
||||
# build Subsurface and then smtk2ssrf
|
||||
export MXEBUILDTYPE=i686-w64-mingw32.shared
|
||||
bash -ex ../subsurface/packaging/windows/mxe-based-build.sh installer
|
||||
mv subsurface/subsurface-$VERSION.exe /__w/subsurface-32bit-$VERSION.exe
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue