2020-09-28 17:33:25 +00:00
|
|
|
# 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
|
2022-03-15 20:49:10 +00:00
|
|
|
git clone https://github.com/subsurface/subsurface
|
2020-09-28 17:33:25 +00:00
|
|
|
cd subsurface
|
|
|
|
git submodule init
|
|
|
|
git submodule update
|
2020-12-29 20:38:43 +00:00
|
|
|
docker run -v /some/path/windows:/__w subsurface/mxe-build-container:2.2 /bin/bash /__w/subsurface/packaging/windows/create-win-installer.sh
|
2020-09-28 17:33:25 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
This will result in subsurface-VERSION.exe and smtk2ssrf-VERSION.exe to be created.
|