Changes between Version 8 and Version 9 of BuildingUsingMsvcBuildsystem
- Timestamp:
- 06/16/21 06:25:29 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildingUsingMsvcBuildsystem
v8 v9 3 3 = Prerequisites = 4 4 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 8 7 9 8 = Build steps = 10 9 11 - Clone [https://github.com/OpenVPN/openvpn -build openvpn-build] repo:10 - Clone [https://github.com/OpenVPN/openvpn openvpn] repo: 12 11 {{{ 13 > git clone git@github.com:OpenVPN/openvpn-build.git12 c:\Temp>git clone git@github.com:OpenVPN/openvpn.git 14 13 }}} 15 14 16 - Clone [https://github.com/OpenVPN/openvpn openvpn] repo:15 - Build dependencies with vcpkg: 17 16 {{{ 18 > git clone git@github.com:OpenVPN/openvpn.git17 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 19 18 }}} 20 19 21 - Build OpenVPN with dependencies:20 - Build openvpn: 22 21 {{{ 23 openvpn-build\msvc\build.bat22 c:\Temp\openvpn>msbuild 24 23 }}} 25 26 - Development environment is ready. Open solution file in Visual Studio (select "x64" in "Solution Platforms") :27 {{{28 openvpn\openvpn.sln29 }}}30 and start coding!