Skip to contentSkip to conversation

README.cmake.md: Add new documentation for CMake buildsystem

PATCH In review Frank Lichtenheld 2 participants 2 messages Jul 7, 2023 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 README.cmake.md: Add new documentation for CMake buildsystem

While here, adapt and update some of the Windows-build references in the other README files.

Change-Id Id067774bde7511a736e156fc599b07837242336c
---
 Makefile.am     |   1 +
 README          |   6 ++-
 README.cmake.md | 137 ++++++++++++++++++++++++++++++++++++++++++++++++
 README.dco.md   |   7 ++-
 4 files changed, 147 insertions(+), 4 deletions(-)
 create mode 100644 README.cmake.md
Makefile.am +1 -0
index 24c47ae9..2305ab42 100644
@@ -67,6 +67,7 @@ dist_noinst_DATA = \
 	.gitattributes \
 	CONTRIBUTING.rst \
 	PORTS \
+	README.cmake.md \
 	README.dco.md \
 	README.ec \
 	README.wolfssl
README +4 -2
index 04eb16ff..8576dbaa 100644
@@ -21,6 +21,9 @@ To Build and Install,
 
 or see the file INSTALL for more info.
 
+For information on how to build OpenVPN on/for Windows with MinGW
+or MSVC see README.cmake.md.
+
 *************************************************************************
 
 For detailed information on OpenVPN, including examples, see the man page
@@ -69,8 +72,7 @@ Their source code is available here:
   https://github.com/OpenVPN/easy-rsa
   https://github.com/OpenVPN/tap-windows6
 
-The old cross-compilation environment (domake-win) and the Python-based
-buildsystem have been replaced with openvpn-build:
+Community-provided Windows installers (MSI) and Debian packages are built from
 
   https://github.com/OpenVPN/openvpn-build
 
README.cmake.md new file +137 -0

137 lines not on this page · raw message

README.dco.md +5 -2
index aa93d667..3f7e00c4 100644
@@ -59,8 +59,11 @@ in your log.
 
 Getting started (Windows)
 -------------------------
-The simplest way to test DCO under Windows is to download the latest installer
-from https://build.openvpn.net/downloads/snapshots/github-actions/openvpn2/ .
+Official releases published at https://openvpn.net/community-downloads/
+include ovpn-dco-win driver since 2.6.0.
+
+There are also snapshot releases available at
+https://build.openvpn.net/downloads/snapshots/github-actions/openvpn2/ .
 This installer contains the latest OpenVPN code and the ovpn-dco-win driver.
 
 
Signature · 1 line
2.34.1
Acked-by on v1 1/1
#1 lore raw

Welcome addition. I have not verified that the instructions are correct to the last letter, but I assume they come from "this is how I build", so they do work :-)

Also, not applied to release/2.6, as I think this can be part of the jumbo cmake backport.

Your patch has been applied to the master branch.

commit 53055fd23efb6209b12d3662427158e25247f1fe

Author: Frank Lichtenheld
Date:   Fri Jul 7 17:05:23 2023 +0200
     README.cmake.md: Add new documentation for CMake buildsystem

     Signed-off-by: Frank Lichtenheld <[email protected]...>
     Acked-by: Gert Doering <[email protected]...>
     Message-Id: <[email protected]...>
     URL: https://www.mail-archive.com/search?l=mid&[email protected]...
     Signed-off-by: Gert Doering <[email protected]...>

--
kind regards,

Gert Doering