subsurface/packaging/windows/README.md
Dirk Hohndel c94e2b5d3f build-system: switch submodule protocol
As of today, GitHub no longer allows the 'git://' protocol, so we need to
switch the submodule and our other references to cloning git repos to
'https://' instead.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2022-03-16 06:46:07 -07:00

18 lines
628 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 https://github.com/subsurface/subsurface
cd subsurface
git submodule init
git submodule update
docker run -v /some/path/windows:/__w subsurface/mxe-build-container:2.2 /bin/bash /__w/subsurface/packaging/windows/create-win-installer.sh
```
This will result in subsurface-VERSION.exe and smtk2ssrf-VERSION.exe to be created.