From 49ba8b03c4ebab4a28fa75cfb64694f84816b8ed Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Tue, 15 Jan 2019 14:36:25 -0500 Subject: add src/msi/ and sok.msi custom target --- src/msi/README.md | 22 ++++++++ src/msi/sok.wxs | 166 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 188 insertions(+) create mode 100644 src/msi/README.md create mode 100644 src/msi/sok.wxs (limited to 'src') diff --git a/src/msi/README.md b/src/msi/README.md new file mode 100644 index 0000000..7d420f5 --- /dev/null +++ b/src/msi/README.md @@ -0,0 +1,22 @@ +Generate MSI installer for Windows. + +Setup: + + apt-get install wixl + +Build (using sok.msi build target): + + ninja sok.msi + +Dependencies: + +* `SDL2-devel` (from libsdl.org) +* `SDL2_ttf-devel` (from libsdl.org) + +Example (generate by hand): + + # generate sok.msi + wixl -o sok.msi \ + -D BUILD_DIR=../../build-w64 \ + -D SDL_LIB_DIR=/usr/local/x86_64-w64-mingw32/bin \ + sok.wxs diff --git a/src/msi/sok.wxs b/src/msi/sok.wxs new file mode 100644 index 0000000..2a15cfa --- /dev/null +++ b/src/msi/sok.wxs @@ -0,0 +1,166 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3