mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-12 12:01:30 +00:00
63cc2d864f
These are the instructions that I use at this point. Removed a long obsolete script - it's been many, many years since that last was useful (it was still using qmake to try to build Subsurface) Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
27 lines
607 B
Bash
27 lines
607 B
Bash
#!/bin/bash
|
|
|
|
# this is run inside the docker container
|
|
cd /__w
|
|
|
|
[ ! -d mxe ] || ln -s /win/mxe .
|
|
|
|
# prep the container
|
|
bash subsurface/.github/workflows/scripts/windows-container-prep.sh
|
|
|
|
# remove artifact from prior builds
|
|
rm mdbtools/include/mdbver.h
|
|
|
|
# build the installer
|
|
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-*.exe /__w
|
|
|
|
bash -ex ../subsurface/packaging/windows/smtk2ssrf-mxe-build.sh -a -i
|
|
|
|
mv smtk-import/smtk2ssrf*.exe /__w
|
|
|