Changes between Version 8 and Version 9 of BuildingUsingMsvcBuildsystem


Ignore:
Timestamp:
06/16/21 06:25:29 (11 months ago)
Author:
stipa
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildingUsingMsvcBuildsystem

    v8 v9  
    33= Prerequisites =
    44
    5  - Visual Studio 2019 Community
    6  - [http://strawberryperl.com/ Strawberry Perl] (for building OpenSSL)
    7  - [https://www.nasm.us/ NASM] (for building OpenSSL)
     5 - Visual Studio 2019 or Build Tools for Visual Studio 2019
     6 - vcpkg
    87
    98= Build steps =
    109
    11  - Clone [https://github.com/OpenVPN/openvpn-build openvpn-build] repo:
     10 - Clone [https://github.com/OpenVPN/openvpn openvpn] repo:
    1211{{{
    13   > git clone git@github.com:OpenVPN/openvpn-build.git
     12  c:\Temp>git clone git@github.com:OpenVPN/openvpn.git
    1413}}}
    1514
    16  - Clone [https://github.com/OpenVPN/openvpn openvpn] repo:
     15 - Build dependencies with vcpkg:
    1716{{{
    18   > git clone git@github.com:OpenVPN/openvpn.git
     17  c:\Temp>vcpkg install --overlay-ports=c:\Temp\openvpn\contrib\vcpkg-ports --overlay-triplets=c:\Temp\openvpn\contrib\vcpkg-triplets --triplet x64-windows-ovpn openssl lz4 lzo pkcs11-helper tap-windows6
    1918}}}
    2019
    21  - Build OpenVPN with dependencies:
     20 - Build openvpn:
    2221{{{
    23   openvpn-build\msvc\build.bat
     22  c:\Temp\openvpn>msbuild
    2423}}}
    25 
    26  - Development environment is ready. Open solution file in Visual Studio (select "x64" in "Solution Platforms") :
    27 {{{
    28   openvpn\openvpn.sln
    29 }}}
    30   and start coding!