Skip to content

Commit 7bd7008

Browse files
committed
Add Visual Studio 2015 solution and projects
Add the solution, projects and filter files for building Win32-OpenSSH binaries under visual studio 2015.
1 parent ea18785 commit 7bd7008

36 files changed

+6129
-1616
lines changed

contrib/win32/openssh/README.txt

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
In order to build the Visual Studio 2015 solution, the config.h in the Win32-OpenSSH should be overwritten with the contents of the config.h.vs file.
2+
3+
4+
Custom paths for the visual studio projects are defined in paths.targets.
5+
6+
All projects import this targets file, and it should be in the same directory as the project.
7+
8+
The custom paths are:
9+
10+
OpenSSH-Src-Path = The directory path of the OpenSSH root source directory (with trailing slash)
11+
OpenSSH-Bin-Path = The directory path of the ___location to which binaries are placed. This is the output of the binary projects
12+
OpenSSH-Bin-Path = The directory path of the ___location to which libraries are placed. This is the output of the libary projects
13+
OpenSSL-Path = The directory that contains OpenSSL headers and libaraies.
14+
15+
Notes on OpenSSL path structure
16+
================================
17+
18+
The projects anticipate that the OpenSSL directory will contain sub directorires for Platform and Configuration for example:
19+
20+
OpenSSL -+- Win32 -+- Release -+- include
21+
| | |
22+
| | +- lib
23+
| |
24+
| +- Debug -+- include
25+
| |
26+
| +- lib
27+
|
28+
+- x64 -+- Release -+- include
29+
| |
30+
| +- lib
31+
|
32+
+- Debug -+- include
33+
|
34+
+- lib
35+
36+
The Release/Debug OpenSSL directories output is the standard 'install' output of OpenSSL compiled under Visual Studio 2015 using static c-runtimes.
37+
Lines changed: 190 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,190 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 14
4+
VisualStudioVersion = 14.0.23107.0
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ssh", "ssh.vcxproj", "{74E69D5E-A1EF-46EA-9173-19A412774104}"
7+
ProjectSection(ProjectDependencies) = postProject
8+
{05E1115F-8529-46D0-AAAF-52A404CE79A7} = {05E1115F-8529-46D0-AAAF-52A404CE79A7}
9+
{DD483F7D-C553-4740-BC1A-903805AD0174} = {DD483F7D-C553-4740-BC1A-903805AD0174}
10+
{8660C2FE-9874-432D-B047-E042BB41DBE0} = {8660C2FE-9874-432D-B047-E042BB41DBE0}
11+
EndProjectSection
12+
EndProject
13+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "win32compat", "win32compat.vcxproj", "{8660C2FE-9874-432D-B047-E042BB41DBE0}"
14+
EndProject
15+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libssh", "libssh.vcxproj", "{05E1115F-8529-46D0-AAAF-52A404CE79A7}"
16+
EndProject
17+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "openbsd_compat", "openbsd_compat.vcxproj", "{DD483F7D-C553-4740-BC1A-903805AD0174}"
18+
EndProject
19+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ssh-keygen", "keygen.vcxproj", "{47496135-131B-41D6-BF2B-EE7144873DD0}"
20+
ProjectSection(ProjectDependencies) = postProject
21+
{05E1115F-8529-46D0-AAAF-52A404CE79A7} = {05E1115F-8529-46D0-AAAF-52A404CE79A7}
22+
{DD483F7D-C553-4740-BC1A-903805AD0174} = {DD483F7D-C553-4740-BC1A-903805AD0174}
23+
{8660C2FE-9874-432D-B047-E042BB41DBE0} = {8660C2FE-9874-432D-B047-E042BB41DBE0}
24+
EndProjectSection
25+
EndProject
26+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sftp", "sftp.vcxproj", "{BBEFF9D7-0BC3-41D1-908B-8052158B5052}"
27+
ProjectSection(ProjectDependencies) = postProject
28+
{05E1115F-8529-46D0-AAAF-52A404CE79A7} = {05E1115F-8529-46D0-AAAF-52A404CE79A7}
29+
{DD483F7D-C553-4740-BC1A-903805AD0174} = {DD483F7D-C553-4740-BC1A-903805AD0174}
30+
{8660C2FE-9874-432D-B047-E042BB41DBE0} = {8660C2FE-9874-432D-B047-E042BB41DBE0}
31+
EndProjectSection
32+
EndProject
33+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ssh-add", "ssh-add.vcxproj", "{029797FF-C986-43DE-95CD-2E771E86AEBC}"
34+
ProjectSection(ProjectDependencies) = postProject
35+
{05E1115F-8529-46D0-AAAF-52A404CE79A7} = {05E1115F-8529-46D0-AAAF-52A404CE79A7}
36+
{DD483F7D-C553-4740-BC1A-903805AD0174} = {DD483F7D-C553-4740-BC1A-903805AD0174}
37+
{8660C2FE-9874-432D-B047-E042BB41DBE0} = {8660C2FE-9874-432D-B047-E042BB41DBE0}
38+
EndProjectSection
39+
EndProject
40+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ssh-agent", "ssh-agent.vcxproj", "{02E88337-C701-453B-90D8-31988C276937}"
41+
ProjectSection(ProjectDependencies) = postProject
42+
{05E1115F-8529-46D0-AAAF-52A404CE79A7} = {05E1115F-8529-46D0-AAAF-52A404CE79A7}
43+
{DD483F7D-C553-4740-BC1A-903805AD0174} = {DD483F7D-C553-4740-BC1A-903805AD0174}
44+
{8660C2FE-9874-432D-B047-E042BB41DBE0} = {8660C2FE-9874-432D-B047-E042BB41DBE0}
45+
EndProjectSection
46+
EndProject
47+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ssh-pkcs11-helper", "ssh-pkcs11-helper.vcxproj", "{C3C50D2E-7A16-43A9-8A4B-F67CEA1B634F}"
48+
ProjectSection(ProjectDependencies) = postProject
49+
{05E1115F-8529-46D0-AAAF-52A404CE79A7} = {05E1115F-8529-46D0-AAAF-52A404CE79A7}
50+
{DD483F7D-C553-4740-BC1A-903805AD0174} = {DD483F7D-C553-4740-BC1A-903805AD0174}
51+
{8660C2FE-9874-432D-B047-E042BB41DBE0} = {8660C2FE-9874-432D-B047-E042BB41DBE0}
52+
EndProjectSection
53+
EndProject
54+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sftp-server", "sftp-server.vcxproj", "{6657614F-7821-4D55-96EF-7C3C4B551880}"
55+
ProjectSection(ProjectDependencies) = postProject
56+
{05E1115F-8529-46D0-AAAF-52A404CE79A7} = {05E1115F-8529-46D0-AAAF-52A404CE79A7}
57+
{DD483F7D-C553-4740-BC1A-903805AD0174} = {DD483F7D-C553-4740-BC1A-903805AD0174}
58+
{8660C2FE-9874-432D-B047-E042BB41DBE0} = {8660C2FE-9874-432D-B047-E042BB41DBE0}
59+
EndProjectSection
60+
EndProject
61+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ssh-keyscan", "ssh-keyscan.vcxproj", "{D6A23380-8970-4E05-B132-A61283CCE588}"
62+
ProjectSection(ProjectDependencies) = postProject
63+
{05E1115F-8529-46D0-AAAF-52A404CE79A7} = {05E1115F-8529-46D0-AAAF-52A404CE79A7}
64+
{DD483F7D-C553-4740-BC1A-903805AD0174} = {DD483F7D-C553-4740-BC1A-903805AD0174}
65+
{8660C2FE-9874-432D-B047-E042BB41DBE0} = {8660C2FE-9874-432D-B047-E042BB41DBE0}
66+
EndProjectSection
67+
EndProject
68+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ssh-keysign", "ssh-keysign.vcxproj", "{23B9D630-B86E-410D-9B39-CBDEF1AD4F52}"
69+
ProjectSection(ProjectDependencies) = postProject
70+
{05E1115F-8529-46D0-AAAF-52A404CE79A7} = {05E1115F-8529-46D0-AAAF-52A404CE79A7}
71+
{DD483F7D-C553-4740-BC1A-903805AD0174} = {DD483F7D-C553-4740-BC1A-903805AD0174}
72+
{8660C2FE-9874-432D-B047-E042BB41DBE0} = {8660C2FE-9874-432D-B047-E042BB41DBE0}
73+
EndProjectSection
74+
EndProject
75+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sshd", "sshd.vcxproj", "{F58FF6BA-098B-4DB9-9609-A030DFB4D03F}"
76+
ProjectSection(ProjectDependencies) = postProject
77+
{05E1115F-8529-46D0-AAAF-52A404CE79A7} = {05E1115F-8529-46D0-AAAF-52A404CE79A7}
78+
{DD483F7D-C553-4740-BC1A-903805AD0174} = {DD483F7D-C553-4740-BC1A-903805AD0174}
79+
{8660C2FE-9874-432D-B047-E042BB41DBE0} = {8660C2FE-9874-432D-B047-E042BB41DBE0}
80+
EndProjectSection
81+
EndProject
82+
Global
83+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
84+
Debug|x64 = Debug|x64
85+
Debug|x86 = Debug|x86
86+
Release|x64 = Release|x64
87+
Release|x86 = Release|x86
88+
EndGlobalSection
89+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
90+
{74E69D5E-A1EF-46EA-9173-19A412774104}.Debug|x64.ActiveCfg = Debug|x64
91+
{74E69D5E-A1EF-46EA-9173-19A412774104}.Debug|x64.Build.0 = Debug|x64
92+
{74E69D5E-A1EF-46EA-9173-19A412774104}.Debug|x86.ActiveCfg = Debug|Win32
93+
{74E69D5E-A1EF-46EA-9173-19A412774104}.Debug|x86.Build.0 = Debug|Win32
94+
{74E69D5E-A1EF-46EA-9173-19A412774104}.Release|x64.ActiveCfg = Release|x64
95+
{74E69D5E-A1EF-46EA-9173-19A412774104}.Release|x64.Build.0 = Release|x64
96+
{74E69D5E-A1EF-46EA-9173-19A412774104}.Release|x86.ActiveCfg = Release|Win32
97+
{74E69D5E-A1EF-46EA-9173-19A412774104}.Release|x86.Build.0 = Release|Win32
98+
{8660C2FE-9874-432D-B047-E042BB41DBE0}.Debug|x64.ActiveCfg = Debug|x64
99+
{8660C2FE-9874-432D-B047-E042BB41DBE0}.Debug|x64.Build.0 = Debug|x64
100+
{8660C2FE-9874-432D-B047-E042BB41DBE0}.Debug|x86.ActiveCfg = Debug|Win32
101+
{8660C2FE-9874-432D-B047-E042BB41DBE0}.Debug|x86.Build.0 = Debug|Win32
102+
{8660C2FE-9874-432D-B047-E042BB41DBE0}.Release|x64.ActiveCfg = Release|x64
103+
{8660C2FE-9874-432D-B047-E042BB41DBE0}.Release|x64.Build.0 = Release|x64
104+
{8660C2FE-9874-432D-B047-E042BB41DBE0}.Release|x86.ActiveCfg = Release|Win32
105+
{8660C2FE-9874-432D-B047-E042BB41DBE0}.Release|x86.Build.0 = Release|Win32
106+
{05E1115F-8529-46D0-AAAF-52A404CE79A7}.Debug|x64.ActiveCfg = Debug|x64
107+
{05E1115F-8529-46D0-AAAF-52A404CE79A7}.Debug|x64.Build.0 = Debug|x64
108+
{05E1115F-8529-46D0-AAAF-52A404CE79A7}.Debug|x86.ActiveCfg = Debug|Win32
109+
{05E1115F-8529-46D0-AAAF-52A404CE79A7}.Debug|x86.Build.0 = Debug|Win32
110+
{05E1115F-8529-46D0-AAAF-52A404CE79A7}.Release|x64.ActiveCfg = Release|x64
111+
{05E1115F-8529-46D0-AAAF-52A404CE79A7}.Release|x64.Build.0 = Release|x64
112+
{05E1115F-8529-46D0-AAAF-52A404CE79A7}.Release|x86.ActiveCfg = Release|Win32
113+
{05E1115F-8529-46D0-AAAF-52A404CE79A7}.Release|x86.Build.0 = Release|Win32
114+
{DD483F7D-C553-4740-BC1A-903805AD0174}.Debug|x64.ActiveCfg = Debug|x64
115+
{DD483F7D-C553-4740-BC1A-903805AD0174}.Debug|x64.Build.0 = Debug|x64
116+
{DD483F7D-C553-4740-BC1A-903805AD0174}.Debug|x86.ActiveCfg = Debug|Win32
117+
{DD483F7D-C553-4740-BC1A-903805AD0174}.Debug|x86.Build.0 = Debug|Win32
118+
{DD483F7D-C553-4740-BC1A-903805AD0174}.Release|x64.ActiveCfg = Release|x64
119+
{DD483F7D-C553-4740-BC1A-903805AD0174}.Release|x64.Build.0 = Release|x64
120+
{DD483F7D-C553-4740-BC1A-903805AD0174}.Release|x86.ActiveCfg = Release|Win32
121+
{DD483F7D-C553-4740-BC1A-903805AD0174}.Release|x86.Build.0 = Release|Win32
122+
{47496135-131B-41D6-BF2B-EE7144873DD0}.Debug|x64.ActiveCfg = Debug|x64
123+
{47496135-131B-41D6-BF2B-EE7144873DD0}.Debug|x64.Build.0 = Debug|x64
124+
{47496135-131B-41D6-BF2B-EE7144873DD0}.Debug|x86.ActiveCfg = Debug|Win32
125+
{47496135-131B-41D6-BF2B-EE7144873DD0}.Debug|x86.Build.0 = Debug|Win32
126+
{47496135-131B-41D6-BF2B-EE7144873DD0}.Release|x64.ActiveCfg = Release|x64
127+
{47496135-131B-41D6-BF2B-EE7144873DD0}.Release|x64.Build.0 = Release|x64
128+
{47496135-131B-41D6-BF2B-EE7144873DD0}.Release|x86.ActiveCfg = Release|Win32
129+
{47496135-131B-41D6-BF2B-EE7144873DD0}.Release|x86.Build.0 = Release|Win32
130+
{BBEFF9D7-0BC3-41D1-908B-8052158B5052}.Debug|x64.ActiveCfg = Debug|x64
131+
{BBEFF9D7-0BC3-41D1-908B-8052158B5052}.Debug|x86.ActiveCfg = Debug|Win32
132+
{BBEFF9D7-0BC3-41D1-908B-8052158B5052}.Release|x64.ActiveCfg = Release|x64
133+
{BBEFF9D7-0BC3-41D1-908B-8052158B5052}.Release|x86.ActiveCfg = Release|Win32
134+
{029797FF-C986-43DE-95CD-2E771E86AEBC}.Debug|x64.ActiveCfg = Debug|x64
135+
{029797FF-C986-43DE-95CD-2E771E86AEBC}.Debug|x64.Build.0 = Debug|x64
136+
{029797FF-C986-43DE-95CD-2E771E86AEBC}.Debug|x86.ActiveCfg = Debug|Win32
137+
{029797FF-C986-43DE-95CD-2E771E86AEBC}.Debug|x86.Build.0 = Debug|Win32
138+
{029797FF-C986-43DE-95CD-2E771E86AEBC}.Release|x64.ActiveCfg = Release|x64
139+
{029797FF-C986-43DE-95CD-2E771E86AEBC}.Release|x64.Build.0 = Release|x64
140+
{029797FF-C986-43DE-95CD-2E771E86AEBC}.Release|x86.ActiveCfg = Release|Win32
141+
{029797FF-C986-43DE-95CD-2E771E86AEBC}.Release|x86.Build.0 = Release|Win32
142+
{02E88337-C701-453B-90D8-31988C276937}.Debug|x64.ActiveCfg = Debug|x64
143+
{02E88337-C701-453B-90D8-31988C276937}.Debug|x64.Build.0 = Debug|x64
144+
{02E88337-C701-453B-90D8-31988C276937}.Debug|x86.ActiveCfg = Debug|Win32
145+
{02E88337-C701-453B-90D8-31988C276937}.Debug|x86.Build.0 = Debug|Win32
146+
{02E88337-C701-453B-90D8-31988C276937}.Release|x64.ActiveCfg = Release|x64
147+
{02E88337-C701-453B-90D8-31988C276937}.Release|x64.Build.0 = Release|x64
148+
{02E88337-C701-453B-90D8-31988C276937}.Release|x86.ActiveCfg = Release|Win32
149+
{02E88337-C701-453B-90D8-31988C276937}.Release|x86.Build.0 = Release|Win32
150+
{C3C50D2E-7A16-43A9-8A4B-F67CEA1B634F}.Debug|x64.ActiveCfg = Debug|x64
151+
{C3C50D2E-7A16-43A9-8A4B-F67CEA1B634F}.Debug|x64.Build.0 = Debug|x64
152+
{C3C50D2E-7A16-43A9-8A4B-F67CEA1B634F}.Debug|x86.ActiveCfg = Debug|Win32
153+
{C3C50D2E-7A16-43A9-8A4B-F67CEA1B634F}.Debug|x86.Build.0 = Debug|Win32
154+
{C3C50D2E-7A16-43A9-8A4B-F67CEA1B634F}.Release|x64.ActiveCfg = Release|x64
155+
{C3C50D2E-7A16-43A9-8A4B-F67CEA1B634F}.Release|x64.Build.0 = Release|x64
156+
{C3C50D2E-7A16-43A9-8A4B-F67CEA1B634F}.Release|x86.ActiveCfg = Release|Win32
157+
{C3C50D2E-7A16-43A9-8A4B-F67CEA1B634F}.Release|x86.Build.0 = Release|Win32
158+
{6657614F-7821-4D55-96EF-7C3C4B551880}.Debug|x64.ActiveCfg = Debug|x64
159+
{6657614F-7821-4D55-96EF-7C3C4B551880}.Debug|x86.ActiveCfg = Debug|Win32
160+
{6657614F-7821-4D55-96EF-7C3C4B551880}.Release|x64.ActiveCfg = Release|x64
161+
{6657614F-7821-4D55-96EF-7C3C4B551880}.Release|x86.ActiveCfg = Release|Win32
162+
{D6A23380-8970-4E05-B132-A61283CCE588}.Debug|x64.ActiveCfg = Debug|x64
163+
{D6A23380-8970-4E05-B132-A61283CCE588}.Debug|x64.Build.0 = Debug|x64
164+
{D6A23380-8970-4E05-B132-A61283CCE588}.Debug|x86.ActiveCfg = Debug|Win32
165+
{D6A23380-8970-4E05-B132-A61283CCE588}.Debug|x86.Build.0 = Debug|Win32
166+
{D6A23380-8970-4E05-B132-A61283CCE588}.Release|x64.ActiveCfg = Release|x64
167+
{D6A23380-8970-4E05-B132-A61283CCE588}.Release|x64.Build.0 = Release|x64
168+
{D6A23380-8970-4E05-B132-A61283CCE588}.Release|x86.ActiveCfg = Release|Win32
169+
{D6A23380-8970-4E05-B132-A61283CCE588}.Release|x86.Build.0 = Release|Win32
170+
{23B9D630-B86E-410D-9B39-CBDEF1AD4F52}.Debug|x64.ActiveCfg = Debug|x64
171+
{23B9D630-B86E-410D-9B39-CBDEF1AD4F52}.Debug|x64.Build.0 = Debug|x64
172+
{23B9D630-B86E-410D-9B39-CBDEF1AD4F52}.Debug|x86.ActiveCfg = Debug|Win32
173+
{23B9D630-B86E-410D-9B39-CBDEF1AD4F52}.Debug|x86.Build.0 = Debug|Win32
174+
{23B9D630-B86E-410D-9B39-CBDEF1AD4F52}.Release|x64.ActiveCfg = Release|x64
175+
{23B9D630-B86E-410D-9B39-CBDEF1AD4F52}.Release|x64.Build.0 = Release|x64
176+
{23B9D630-B86E-410D-9B39-CBDEF1AD4F52}.Release|x86.ActiveCfg = Release|Win32
177+
{23B9D630-B86E-410D-9B39-CBDEF1AD4F52}.Release|x86.Build.0 = Release|Win32
178+
{F58FF6BA-098B-4DB9-9609-A030DFB4D03F}.Debug|x64.ActiveCfg = Debug|x64
179+
{F58FF6BA-098B-4DB9-9609-A030DFB4D03F}.Debug|x64.Build.0 = Debug|x64
180+
{F58FF6BA-098B-4DB9-9609-A030DFB4D03F}.Debug|x86.ActiveCfg = Debug|Win32
181+
{F58FF6BA-098B-4DB9-9609-A030DFB4D03F}.Debug|x86.Build.0 = Debug|Win32
182+
{F58FF6BA-098B-4DB9-9609-A030DFB4D03F}.Release|x64.ActiveCfg = Release|x64
183+
{F58FF6BA-098B-4DB9-9609-A030DFB4D03F}.Release|x64.Build.0 = Release|x64
184+
{F58FF6BA-098B-4DB9-9609-A030DFB4D03F}.Release|x86.ActiveCfg = Release|Win32
185+
{F58FF6BA-098B-4DB9-9609-A030DFB4D03F}.Release|x86.Build.0 = Release|Win32
186+
EndGlobalSection
187+
GlobalSection(SolutionProperties) = preSolution
188+
HideSolutionNode = FALSE
189+
EndGlobalSection
190+
EndGlobal

0 commit comments

Comments
 (0)