2020-09-28 10:33:25 -07: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:
|
|
|
|
|
2024-04-30 16:40:02 +12:00
|
|
|
```.sh
|
2024-04-24 11:27:10 +12:00
|
|
|
export GIT_AUTHOR_NAME=<your name>
|
|
|
|
export GIT_AUTHOR_EMAIL=<email to be used with github>
|
|
|
|
|
|
|
|
cd /some/path
|
2022-03-15 13:49:10 -07:00
|
|
|
git clone https://github.com/subsurface/subsurface
|
2020-09-28 10:33:25 -07:00
|
|
|
cd subsurface
|
|
|
|
git submodule init
|
|
|
|
git submodule update
|
2024-04-24 11:27:10 +12:00
|
|
|
./packaging/windows/docker-build.sh
|
2020-09-28 10:33:25 -07:00
|
|
|
```
|
|
|
|
|
2024-04-30 16:40:02 +12:00
|
|
|
This will result in the two installers subsurface-VERSION.exe and smtk2ssrf-VERSION.exe to be created in /some/path/subsurface/output/windows/.
|