From c49837c81b06b9d4b6cc67f069fb12a0151e611c Mon Sep 17 00:00:00 2001 From: manojampalam Date: Sun, 28 Feb 2016 18:20:17 -0800 Subject: [PATCH] Created Building using VS 2015 (markdown) --- Building-using-VS-2015.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Building-using-VS-2015.md diff --git a/Building-using-VS-2015.md b/Building-using-VS-2015.md new file mode 100644 index 0000000..06b4c2c --- /dev/null +++ b/Building-using-VS-2015.md @@ -0,0 +1,21 @@ +#### Building using Visual Studio 2015 + +* Download and Install VS 2015 [Community Edition](https://www.visualstudio.com/en-us/products/visual-studio-community-vs.aspx) +* Download and Install [Strawberry Perl](http://strawberryperl.com/) (needed for building OpenSSL) +* Open 'VS2015 x64 Native Tools Command Prompt' +* Build OpenSSL. (Substitute with your own build dirs where needed) + - cd D:\programming\OpenSSL\openssl-1.0.2f + - perl Configure debug-VC-WIN64A --prefix=d:\programming\OpenSSL\OpenSSLInstallx64_vs2015-debug + - ms\do_win64a + - nmake -f ms\nt.mak install + - perl Configure VC-WIN64A --prefix=d:\programming\OpenSSL\OpenSSLInstallx64_vs2015 + - ms\do_win64a + - nmake -f ms\nt.mak install +* Open up "contrib\win32\openssh\paths.targets" in OpenSSH folder. +* Set the paths to point to the right OpenSSL SDK directories Ex: + D:\programming\OpenSSL\OpenSSLInstallx64_vs2015-debug\ + D:\programming\OpenSSL\OpenSSLInstallx86_vs2015\ + D:\programming\OpenSSL\OpenSSLInstallx86_vs2015-debug\ + D:\programming\OpenSSL\OpenSSLInstallx64_vs2015\ + D:\programming\OpenSSL\OpenSSLInstallx64_vs2015-debug\ +* Open "contrib\win32\openssh\Win32-OpenSSH.sln" in Visual Studio and continue building Win32-OpenSSH binaries \ No newline at end of file