summaryrefslogtreecommitdiff
path: root/docs/build.windows.rst
blob: 1e8364ddeb881774e9a43f07b5c4fc731a1049f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
windows build
=============

The build currently expects MINGW64 environment, on a native windows host.
A cross-compiling procedure (at least for the application binaries) should be possible in the near future, using mxe.

You should install make, as well as a recent Qt5 version (for instance, with chocolatey: choco install make).

(In order to avoid makefiles, you are welcome to submit a port of the build scripts using powershell or cscript - see the build.wsf script in openvpn-build for inspiration).

For the installer, install QtIFW for windows (tested with version 3.2.2).

Assuming you have the vendor path in place and correctly configured, all you need to do is `make build_installer`::

  export PATH="/c/Qt/Qt5/bin/":"/c/Qt/QtIFW-3.2.2/bin":$PATH
  VENDOR_PATH=providers/
  make build_installer