mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +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> |
||
---|---|---|
.. | ||
create-win-installer.sh | ||
mxe-based-build.sh | ||
README.md | ||
smtk-import.nsi.in | ||
smtk2ssrf-mxe-build.sh | ||
subsurface.ico | ||
subsurface.nsi.in |
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:1.1 /bin/bash /__w/subsurface/packaging/windows/create-win-installer.sh
This will result in subsurface-VERSION.exe and smtk2ssrf-VERSION.exe to be created.