subsurface/packaging/windows/README.md
Dirk Hohndel e71e715cd3 build-system: Docker build for 64bit MXE
We previously tried to build the MXE Docker container on GitHub using
an Action, but that really didn't work well and was a lot more trouble
than it was worth.

So this goes back to an offline build mechanism where I simply create
an updated Docker image when needed and push that to Docker Hub.

But this nearly hides the most interesting change here - we are finally
switching to using 64bit binaries on Windows. It's 2020 and fewer than
1% of our users use 32bit Windows machines. We'll need to expand this
to be able to have both a 32bit and a 64bit version of Subsurface for
Windows. But for now, this solves the problem for 99% of our users.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2020-10-30 12:24:36 -07:00

18 lines
626 B
Markdown

# Creating a Windows installer
The scripts here help with cross building Subsurface and smtk2ssrf for Windows.
The preferred method to create a Windows installer is to use our own docker
image that has all the build components pre-assembled.
All it takes is this:
```
cd /some/path/windows
git clone git://github.com/subsurface/subsurface
cd subsurface
git submodule init
git submodule update
docker run -v /some/path/windows:/__w subsurface/mxe-build-container:2.0 /bin/bash /__w/subsurface/packaging/windows/create-win-installer.sh
```
This will result in subsurface-VERSION.exe and smtk2ssrf-VERSION.exe to be created.