subsurface/packaging/windows
Dirk Hohndel 62477d8c65 Complete redesign of Subsurface version numbers
- for now all versions start with v6.0
- CICD builds use the monolithic build number as patch level, e.g. v6.0.12345
- local builds use the following algorithm
  - find the newest commit with a CICD build number that is included in the
    working tree
  - count the number of commits in the working tree since that commit
  - if there are no commits since the last CICD build, the local build version
    will be v6.0.12345-local
  - if there are N commits since the last CICD build, it will be
    v6.0.12345-N-local
- test builds in the CICD that don't create artifacts simply use a dummy release
  in order to not incorrectly increment the build number and also not to waste
  time and resources by manually checking out the nightly-build repo for each of
  these builds.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2024-01-06 10:55:24 -08:00
..
create-win-installer.sh Complete redesign of Subsurface version numbers 2024-01-06 10:55:24 -08:00
mxe-based-build.sh Always rebuild when local changes are present 2023-12-10 15:56:44 +13:00
README.md build-system: switch submodule protocol 2022-03-16 06:46:07 -07:00
smtk-import.nsi.in build-system: remove Grantlee from the packaging scripts 2020-10-08 12:19:39 -07:00
smtk2ssrf-mxe-build.sh build-system: adapt the smtk2ssrf script for 64bit Windows 2020-10-30 12:24:36 -07:00
subsurface.ico Get icons working correctly under Windows 2011-10-29 09:14:15 -07:00
subsurface.nsi.in build-system: first steps towards a 64bit Windows build 2020-10-30 12:24:36 -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:

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.