Added cross-compilation information INSTALL-win32.txt

Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: 1359101540-976-3-git-send-email-samuli@openvpn.net
URL: http://article.gmane.org/gmane.network.openvpn.devel/7295
Signed-off-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit 168780d0df)
This commit is contained in:
Samuli Seppänen 2013-01-25 10:12:18 +02:00 committed by Gert Doering
parent 5a1c16e7d0
commit 10675f3621

View file

@ -46,3 +46,32 @@ the lower-right corner of the screen. Right click on the
system tray icon, and a menu should appear showing the names
of your OpenVPN configuration files, and giving you the
option to connect.
BUILDING OPENVPN FOR WINDOWS
Official OpenVPN Windows releases are cross-compiled on Linux using the
openvpn-build buildsystem:
https://community.openvpn.net/openvpn/wiki/BuildingUsingGenericBuildsystem
First setup the build environment as shown in the above article. Then fetch the
openvpn-build repository:
git clone https://github.com/OpenVPN/openvpn-build.git
Review the build configuration:
openvpn-build/generic/build.vars
openvpn-build/windows-nsis/build-complete.vars
Build (unsigned):
cd openvpn-build/windows-nsis
./build-complete
Build (signed):
cd openvpn-build/windows-nsis
./build-complete --sign --sign-pkcs12=<pkcs12-file>\
--sign-pkcs12-pass=<pkcs12-file-password> \
--sign-timestamp="<timestamp-url>"