diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-11-12 06:41:28 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-11-12 11:19:55 -0800 |
commit | 69e7baf68216efc8bb6a06211570dd5185e6d8f3 (patch) | |
tree | fb6d4a92074106a7f63d96430a8cf8e5a3833507 /packaging/windows | |
parent | 10a026b2ffd5f9271411fb8e733a3910de88761c (diff) | |
download | subsurface-69e7baf68216efc8bb6a06211570dd5185e6d8f3.tar.gz |
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>
Diffstat (limited to 'packaging/windows')
-rw-r--r-- | packaging/windows/create-win-installer.sh | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/packaging/windows/create-win-installer.sh b/packaging/windows/create-win-installer.sh index c9f9f87f5..80b7d6ad9 100644 --- a/packaging/windows/create-win-installer.sh +++ b/packaging/windows/create-win-installer.sh @@ -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 |