tREADME.md - vaccinewars - be a doctor and try to vaccinate the world
(HTM) git clone git://src.adamsgaard.dk/vaccinewars
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
tREADME.md (888B)
---
1 ## Building dopewars on Windows
2
3 dopewars is built for Windows via cross-compilation on Linux using the
4 MinGW tools. See the `mingw` subdirectory for a suitable `Dockerfile` to set up
5 a [Docker](https://www.docker.com/) or [Podman](https://podman.io/)
6 compilation environment.
7
8 Once in the environment, build dopewars for 64-bit Windows with
9
10 ./configure --host=x86_64-w64-mingw32 --enable-nativewin32 && make
11
12 For 32-bit Windows, use
13
14 ./configure --host=i686-w64-mingw32 --enable-nativewin32 && make
15
16 In order for curl connections to the metaserver to work, copy
17 `/etc/pki/tls/certs/ca-bundle.crt` from the Docker/Podman environment to
18 the same directory as `dopewars.exe`.
19
20
21 ## Windows installer
22
23 The top-level `configure` script will also generate `install.nsi` in this
24 directory. This can be used as input to
25 [NSIS](https://nsis.sourceforge.io/) to build a Windows installer.