wiki:BuildingUsingMsvcBuildsystem

Version 10 (modified by rozmansi, 6 months ago) (diff)

openssl => openssl3 as per 225893ef7d06cdaf145436c54bd1070266a1d1da commit

Table of Contents

  1. Prerequisites
  2. Build steps

Prerequisites

  • Visual Studio 2019 or Build Tools for Visual Studio 2019
  • vcpkg

Build steps

  • Clone openvpn repo:
      c:\Temp>git clone git@github.com:OpenVPN/openvpn.git
    
  • Build dependencies with vcpkg:
      c:\Temp>vcpkg install --overlay-ports=c:\Temp\openvpn\contrib\vcpkg-ports --overlay-triplets=c:\Temp\openvpn\contrib\vcpkg-triplets --triplet x64-windows-ovpn openssl3 lz4 lzo pkcs11-helper tap-windows6
    
  • Build openvpn:
      c:\Temp\openvpn>msbuild