diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2015-12-03 11:52:54 +0000 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2015-12-03 11:52:54 +0000 |
commit | 18f39a54b799403810a61adf7248351d3dad113b (patch) | |
tree | 1ab84efa89f84f5748a473736ef154638093bf87 /w32 | |
parent | b86799bfaddeb938f59e277d937776b3d335be04 (diff) | |
download | libmicrohttpd-18f39a54b799403810a61adf7248351d3dad113b.tar.gz libmicrohttpd-18f39a54b799403810a61adf7248351d3dad113b.zip |
VS projects: used reference to lib project instead of manually linking, cleaned up extra dependencies
Diffstat (limited to 'w32')
-rw-r--r-- | w32/VS2013/hellobrowser.vcxproj | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/w32/VS2013/hellobrowser.vcxproj b/w32/VS2013/hellobrowser.vcxproj index 448b21db..bfc03599 100644 --- a/w32/VS2013/hellobrowser.vcxproj +++ b/w32/VS2013/hellobrowser.vcxproj | |||
@@ -38,6 +38,11 @@ | |||
38 | <ItemGroup> | 38 | <ItemGroup> |
39 | <ClCompile Include="$(MhdRoot)doc\examples\hellobrowser.c" /> | 39 | <ClCompile Include="$(MhdRoot)doc\examples\hellobrowser.c" /> |
40 | </ItemGroup> | 40 | </ItemGroup> |
41 | <ItemGroup> | ||
42 | <ProjectReference Include="libmicrohttpd.vcxproj"> | ||
43 | <Project>{9cfb0342-a9e7-483e-bee5-a1de22584c5a}</Project> | ||
44 | </ProjectReference> | ||
45 | </ItemGroup> | ||
41 | <PropertyGroup Label="Globals"> | 46 | <PropertyGroup Label="Globals"> |
42 | <ProjectGuid>{310F39BD-A2D6-44FF-8344-37ADD0524CBD}</ProjectGuid> | 47 | <ProjectGuid>{310F39BD-A2D6-44FF-8344-37ADD0524CBD}</ProjectGuid> |
43 | <Keyword>Win32Proj</Keyword> | 48 | <Keyword>Win32Proj</Keyword> |
@@ -115,7 +120,6 @@ | |||
115 | <Link> | 120 | <Link> |
116 | <SubSystem>Console</SubSystem> | 121 | <SubSystem>Console</SubSystem> |
117 | <GenerateDebugInformation>true</GenerateDebugInformation> | 122 | <GenerateDebugInformation>true</GenerateDebugInformation> |
118 | <AdditionalLibraryDirectories>$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | ||
119 | </Link> | 123 | </Link> |
120 | <ProjectReference /> | 124 | <ProjectReference /> |
121 | </ItemDefinitionGroup> | 125 | </ItemDefinitionGroup> |
@@ -143,35 +147,23 @@ | |||
143 | <ClCompile> | 147 | <ClCompile> |
144 | <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> | 148 | <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> |
145 | </ClCompile> | 149 | </ClCompile> |
146 | <Link> | ||
147 | <AdditionalDependencies>libmicrohttpd_d.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
148 | </Link> | ||
149 | <ProjectReference /> | 150 | <ProjectReference /> |
150 | </ItemDefinitionGroup> | 151 | </ItemDefinitionGroup> |
151 | <ItemDefinitionGroup Condition="'$(Configuration)'=='Debug-dll'"> | 152 | <ItemDefinitionGroup Condition="'$(Configuration)'=='Debug-dll'"> |
152 | <ClCompile> | 153 | <ClCompile> |
153 | <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> | 154 | <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> |
154 | </ClCompile> | 155 | </ClCompile> |
155 | <Link> | ||
156 | <AdditionalDependencies>libmicrohttpd-dll_d.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
157 | </Link> | ||
158 | <ProjectReference /> | 156 | <ProjectReference /> |
159 | </ItemDefinitionGroup> | 157 | </ItemDefinitionGroup> |
160 | <ItemDefinitionGroup Condition="'$(Configuration)'=='Release-static'"> | 158 | <ItemDefinitionGroup Condition="'$(Configuration)'=='Release-static'"> |
161 | <ClCompile> | 159 | <ClCompile> |
162 | <RuntimeLibrary>MultiThreaded</RuntimeLibrary> | 160 | <RuntimeLibrary>MultiThreaded</RuntimeLibrary> |
163 | </ClCompile> | 161 | </ClCompile> |
164 | <Link> | ||
165 | <AdditionalDependencies>libmicrohttpd.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
166 | </Link> | ||
167 | </ItemDefinitionGroup> | 162 | </ItemDefinitionGroup> |
168 | <ItemDefinitionGroup Condition="'$(Configuration)'=='Release-dll'"> | 163 | <ItemDefinitionGroup Condition="'$(Configuration)'=='Release-dll'"> |
169 | <ClCompile> | 164 | <ClCompile> |
170 | <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> | 165 | <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> |
171 | </ClCompile> | 166 | </ClCompile> |
172 | <Link> | ||
173 | <AdditionalDependencies>libmicrohttpd-dll.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
174 | </Link> | ||
175 | </ItemDefinitionGroup> | 167 | </ItemDefinitionGroup> |
176 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | 168 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
177 | <ImportGroup Label="ExtensionTargets"> | 169 | <ImportGroup Label="ExtensionTargets"> |