diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2015-12-03 11:53:03 +0000 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2015-12-03 11:53:03 +0000 |
commit | 74b2370bc2d062c8fdadb11d6b4750e83abe37e6 (patch) | |
tree | f5a38b4bc21a81a36de17764ff18336a65b92798 /w32 | |
parent | 974314357d5c270cc8f974e05e968ba2adac2429 (diff) | |
download | libmicrohttpd-74b2370bc2d062c8fdadb11d6b4750e83abe37e6.tar.gz libmicrohttpd-74b2370bc2d062c8fdadb11d6b4750e83abe37e6.zip |
VS projects: restructured VS project files to share common values
Diffstat (limited to 'w32')
-rw-r--r-- | w32/VS2013/hellobrowser.vcxproj | 95 | ||||
-rw-r--r-- | w32/VS2013/hellobrowser.vcxproj.filters | 21 | ||||
-rw-r--r-- | w32/VS2013/libmicrohttpd.vcxproj | 149 | ||||
-rw-r--r-- | w32/VS2013/libmicrohttpd.vcxproj.filters | 128 | ||||
-rw-r--r-- | w32/common/MHD_config.h (renamed from w32/VS2013/MHD_config.h) | 0 | ||||
-rw-r--r-- | w32/common/common-build-settings.vcxproj | 99 | ||||
-rw-r--r-- | w32/common/hellobrowser-build-settings.vcxproj | 32 | ||||
-rw-r--r-- | w32/common/hellobrowser-files.vcxproj | 11 | ||||
-rw-r--r-- | w32/common/hellobrowser-filters.vcxproj | 22 | ||||
-rw-r--r-- | w32/common/libmicrohttpd-build-settings.vcxproj | 55 | ||||
-rw-r--r-- | w32/common/libmicrohttpd-files.vcxproj | 2 | ||||
-rw-r--r-- | w32/common/libmicrohttpd-filters.vcxproj | 129 |
12 files changed, 365 insertions, 378 deletions
diff --git a/w32/VS2013/hellobrowser.vcxproj b/w32/VS2013/hellobrowser.vcxproj index 01042a33..21970cbc 100644 --- a/w32/VS2013/hellobrowser.vcxproj +++ b/w32/VS2013/hellobrowser.vcxproj | |||
@@ -35,14 +35,7 @@ | |||
35 | <Platform>x64</Platform> | 35 | <Platform>x64</Platform> |
36 | </ProjectConfiguration> | 36 | </ProjectConfiguration> |
37 | </ItemGroup> | 37 | </ItemGroup> |
38 | <ItemGroup> | 38 | <Import Project="$(MhdW32Common)\hellobrowser-files.vcxproj" /> |
39 | <ClCompile Include="$(MhdRoot)doc\examples\hellobrowser.c" /> | ||
40 | </ItemGroup> | ||
41 | <ItemGroup> | ||
42 | <ProjectReference Include="libmicrohttpd.vcxproj"> | ||
43 | <Project>{9cfb0342-a9e7-483e-bee5-a1de22584c5a}</Project> | ||
44 | </ProjectReference> | ||
45 | </ItemGroup> | ||
46 | <PropertyGroup Label="Globals"> | 39 | <PropertyGroup Label="Globals"> |
47 | <ProjectGuid>{310F39BD-A2D6-44FF-8344-37ADD0524CBD}</ProjectGuid> | 40 | <ProjectGuid>{310F39BD-A2D6-44FF-8344-37ADD0524CBD}</ProjectGuid> |
48 | <Keyword>Win32Proj</Keyword> | 41 | <Keyword>Win32Proj</Keyword> |
@@ -84,90 +77,14 @@ | |||
84 | <ImportGroup Label="PropertySheets"> | 77 | <ImportGroup Label="PropertySheets"> |
85 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | 78 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
86 | </ImportGroup> | 79 | </ImportGroup> |
87 | <PropertyGroup Label="UserMacros" /> | 80 | <Import Project="$(MhdW32Common)common-build-settings.vcxproj" /> |
88 | <PropertyGroup> | 81 | <Import Project="$(MhdW32Common)hellobrowser-build-settings.vcxproj" /> |
89 | <IncludePath>$(MhdSrc)include;$(SolutionDir);$(IncludePath)</IncludePath> | 82 | <PropertyGroup /> |
90 | </PropertyGroup> | ||
91 | <PropertyGroup Condition="'$(Platform)'=='Win32'"> | ||
92 | <IntDir>$(SolutionDir)$(ProjectName)\$(Configuration)\</IntDir> | ||
93 | <OutDir>$(SolutionDir)Output\</OutDir> | ||
94 | </PropertyGroup> | ||
95 | <PropertyGroup Condition="'$(Platform)'=='x64'"> | ||
96 | <IntDir>$(SolutionDir)$(ProjectName)\$(Configuration)\$(Platform)\</IntDir> | ||
97 | <OutDir>$(SolutionDir)Output\$(Platform)\</OutDir> | ||
98 | </PropertyGroup> | ||
99 | <PropertyGroup Condition="'$(UseDebugLibraries)'=='true'"> | ||
100 | <LinkIncremental>true</LinkIncremental> | ||
101 | </PropertyGroup> | ||
102 | <PropertyGroup Condition="'$(UseDebugLibraries)'!='true'"> | ||
103 | <LinkIncremental>false</LinkIncremental> | ||
104 | </PropertyGroup> | ||
105 | <PropertyGroup Condition="'$(Configuration)'=='Debug-static'"> | ||
106 | <TargetName>$(ProjectName)_d</TargetName> | ||
107 | </PropertyGroup> | ||
108 | <PropertyGroup Condition="'$(Configuration)'=='Debug-dll'"> | ||
109 | <TargetName>$(ProjectName)-dll_d</TargetName> | ||
110 | </PropertyGroup> | ||
111 | <PropertyGroup Condition="'$(Configuration)'=='Release-static'"> | ||
112 | <TargetName>$(ProjectName)</TargetName> | ||
113 | </PropertyGroup> | ||
114 | <PropertyGroup Condition="'$(Configuration)'=='Release-dll'"> | ||
115 | <TargetName>$(ProjectName)-dll</TargetName> | ||
116 | </PropertyGroup> | ||
117 | <ItemDefinitionGroup> | 83 | <ItemDefinitionGroup> |
118 | <ClCompile> | 84 | <ClCompile /> |
119 | <PrecompiledHeader>NotUsing</PrecompiledHeader> | 85 | <Link /> |
120 | <WarningLevel>Level3</WarningLevel> | ||
121 | <PreprocessorDefinitions>WIN32;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
122 | </ClCompile> | ||
123 | <Link> | ||
124 | <SubSystem>Console</SubSystem> | ||
125 | <GenerateDebugInformation>true</GenerateDebugInformation> | ||
126 | </Link> | ||
127 | <ProjectReference /> | ||
128 | </ItemDefinitionGroup> | ||
129 | <ItemDefinitionGroup Condition="'$(UseDebugLibraries)'=='true'"> | ||
130 | <ClCompile> | ||
131 | <Optimization>Disabled</Optimization> | ||
132 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
133 | </ClCompile> | ||
134 | <ProjectReference /> | 86 | <ProjectReference /> |
135 | </ItemDefinitionGroup> | 87 | </ItemDefinitionGroup> |
136 | <ItemDefinitionGroup Condition="'$(UseDebugLibraries)'!='true'"> | ||
137 | <ClCompile> | ||
138 | <Optimization>MaxSpeed</Optimization> | ||
139 | <FunctionLevelLinking>true</FunctionLevelLinking> | ||
140 | <IntrinsicFunctions>true</IntrinsicFunctions> | ||
141 | <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
142 | </ClCompile> | ||
143 | <Link> | ||
144 | <EnableCOMDATFolding>true</EnableCOMDATFolding> | ||
145 | <OptimizeReferences>true</OptimizeReferences> | ||
146 | </Link> | ||
147 | <ProjectReference /> | ||
148 | </ItemDefinitionGroup> | ||
149 | <ItemDefinitionGroup Condition="'$(Configuration)'=='Debug-static'"> | ||
150 | <ClCompile> | ||
151 | <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> | ||
152 | </ClCompile> | ||
153 | <ProjectReference /> | ||
154 | </ItemDefinitionGroup> | ||
155 | <ItemDefinitionGroup Condition="'$(Configuration)'=='Debug-dll'"> | ||
156 | <ClCompile> | ||
157 | <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> | ||
158 | </ClCompile> | ||
159 | <ProjectReference /> | ||
160 | </ItemDefinitionGroup> | ||
161 | <ItemDefinitionGroup Condition="'$(Configuration)'=='Release-static'"> | ||
162 | <ClCompile> | ||
163 | <RuntimeLibrary>MultiThreaded</RuntimeLibrary> | ||
164 | </ClCompile> | ||
165 | </ItemDefinitionGroup> | ||
166 | <ItemDefinitionGroup Condition="'$(Configuration)'=='Release-dll'"> | ||
167 | <ClCompile> | ||
168 | <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> | ||
169 | </ClCompile> | ||
170 | </ItemDefinitionGroup> | ||
171 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | 88 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
172 | <ImportGroup Label="ExtensionTargets"> | 89 | <ImportGroup Label="ExtensionTargets"> |
173 | </ImportGroup> | 90 | </ImportGroup> |
diff --git a/w32/VS2013/hellobrowser.vcxproj.filters b/w32/VS2013/hellobrowser.vcxproj.filters index fd1e1f8b..ef5a1fdf 100644 --- a/w32/VS2013/hellobrowser.vcxproj.filters +++ b/w32/VS2013/hellobrowser.vcxproj.filters | |||
@@ -1,22 +1,5 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | 2 | <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
3 | <ItemGroup> | 3 | <Import Project="$(SolutionDir)..\common\vs_dirs.props" /> |
4 | <Filter Include="Source Files"> | 4 | <Import Project="$(MhdW32Common)hellobrowser-filters.vcxproj" /> |
5 | <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier> | ||
6 | <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions> | ||
7 | </Filter> | ||
8 | <Filter Include="Header Files"> | ||
9 | <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier> | ||
10 | <Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions> | ||
11 | </Filter> | ||
12 | <Filter Include="Resource Files"> | ||
13 | <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier> | ||
14 | <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions> | ||
15 | </Filter> | ||
16 | </ItemGroup> | ||
17 | <ItemGroup> | ||
18 | <ClCompile Include="$(MhdRoot)doc\examples\hellobrowser.c"> | ||
19 | <Filter>Source Files</Filter> | ||
20 | </ClCompile> | ||
21 | </ItemGroup> | ||
22 | </Project> \ No newline at end of file | 5 | </Project> \ No newline at end of file |
diff --git a/w32/VS2013/libmicrohttpd.vcxproj b/w32/VS2013/libmicrohttpd.vcxproj index 0f72a3d5..fe94a58e 100644 --- a/w32/VS2013/libmicrohttpd.vcxproj +++ b/w32/VS2013/libmicrohttpd.vcxproj | |||
@@ -135,150 +135,13 @@ | |||
135 | <ImportGroup Label="PropertySheets"> | 135 | <ImportGroup Label="PropertySheets"> |
136 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | 136 | <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
137 | </ImportGroup> | 137 | </ImportGroup> |
138 | <PropertyGroup Label="UserMacros"> | 138 | <Import Project="$(MhdW32Common)common-build-settings.vcxproj" /> |
139 | <!-- WinXP = 0; Vista = 1; Win7 = 2; Win8 = 3... | 139 | <Import Project="$(MhdW32Common)libmicrohttpd-build-settings.vcxproj" /> |
140 | Only 0 and 1 are used currently --> | 140 | <PropertyGroup /> |
141 | <TargetOSLevel Condition="'$(PlatformToolset)'=='v120_xp' Or '$(PlatformToolset)'=='v140_xp'">0</TargetOSLevel> | ||
142 | <TargetOSLevel Condition="'$(PlatformToolset)'!='v120_xp' And '$(PlatformToolset)'!='v140_xp'">1</TargetOSLevel> | ||
143 | </PropertyGroup> | ||
144 | <PropertyGroup> | ||
145 | <IncludePath>$(MhdSrc)include;$(SolutionDir);$(IncludePath)</IncludePath> | ||
146 | <CustomBuildBeforeTargets>ResourceCompile</CustomBuildBeforeTargets> | ||
147 | </PropertyGroup> | ||
148 | <PropertyGroup Condition="'$(Platform)'=='Win32'"> | ||
149 | <IntDir>$(SolutionDir)$(ProjectName)\$(Configuration)\</IntDir> | ||
150 | <OutDir>$(SolutionDir)Output\</OutDir> | ||
151 | </PropertyGroup> | ||
152 | <PropertyGroup Condition="'$(Platform)'=='x64'"> | ||
153 | <IntDir>$(SolutionDir)$(ProjectName)\$(Configuration)\$(Platform)\</IntDir> | ||
154 | <OutDir>$(SolutionDir)Output\$(Platform)\</OutDir> | ||
155 | </PropertyGroup> | ||
156 | <PropertyGroup Condition="'$(ConfigurationType)'=='StaticLibrary'"> | ||
157 | <TargetName Condition="'$(UseDebugLibraries)'=='true'">$(ProjectName)_d</TargetName> | ||
158 | <TargetName Condition="'$(UseDebugLibraries)'!='true'">$(ProjectName)</TargetName> | ||
159 | </PropertyGroup> | ||
160 | <PropertyGroup Condition="'$(ConfigurationType)'=='DynamicLibrary'"> | ||
161 | <TargetName Condition="'$(UseDebugLibraries)'=='true'">$(ProjectName)-dll_d</TargetName> | ||
162 | <TargetName Condition="'$(UseDebugLibraries)'!='true'">$(ProjectName)-dll</TargetName> | ||
163 | </PropertyGroup> | ||
164 | <ItemDefinitionGroup> | 141 | <ItemDefinitionGroup> |
165 | <ClCompile> | 142 | <ClCompile /> |
166 | <PrecompiledHeader>NotUsing</PrecompiledHeader> | 143 | <Link /> |
167 | <WarningLevel>Level3</WarningLevel> | 144 | <Lib /> |
168 | <Optimization>Disabled</Optimization> | ||
169 | <PreprocessorDefinitions>WIN32;BUILDING_MHD_LIB;_UNICODE;UNICODE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
170 | <DisableSpecificWarnings>4996</DisableSpecificWarnings> | ||
171 | <TreatSpecificWarningsAsErrors>4013</TreatSpecificWarningsAsErrors> | ||
172 | <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName> | ||
173 | </ClCompile> | ||
174 | <Link> | ||
175 | <Subsystem>WINDOWS</Subsystem> | ||
176 | <GenerateDebugInformation>true</GenerateDebugInformation> | ||
177 | </Link> | ||
178 | <CustomBuildStep> | ||
179 | <Message>Copy headers to output</Message> | ||
180 | <Command>xcopy /F /I /Y "$(MhdSrc)include\microhttpd.h" "$(OutputPath)"</Command> | ||
181 | <Outputs>$(OutputPath)microhttpd.h;%(Outputs)</Outputs> | ||
182 | <Inputs>$(MhdSrc)include\microhttpd.h</Inputs> | ||
183 | </CustomBuildStep> | ||
184 | </ItemDefinitionGroup> | ||
185 | <ItemDefinitionGroup Condition="'$(TargetOSLevel)'>'0'"> | ||
186 | <ClCompile> | ||
187 | <PreprocessorDefinitions>_WIN32_WINNT=0x0600;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
188 | </ClCompile> | ||
189 | <Link> | ||
190 | <MinimumRequiredVersion>6.00</MinimumRequiredVersion> | ||
191 | <AdditionalOptions>/SUBSYSTEM:WINDOWS,6.00 %(AdditionalOptions)</AdditionalOptions> | ||
192 | </Link> | ||
193 | <Lib> | ||
194 | <MinimumRequiredVersion>6.00</MinimumRequiredVersion> | ||
195 | <AdditionalOptions>/SUBSYSTEM:WINDOWS,6.00 %(AdditionalOptions)</AdditionalOptions> | ||
196 | </Lib> | ||
197 | </ItemDefinitionGroup> | ||
198 | <ItemDefinitionGroup Condition="'$(TargetOSLevel)'=='0' And '$(Platform)'=='Win32'"> | ||
199 | <ClCompile> | ||
200 | <PreprocessorDefinitions>_WIN32_WINNT=0x0501;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
201 | </ClCompile> | ||
202 | <Link> | ||
203 | <MinimumRequiredVersion>5.01</MinimumRequiredVersion> | ||
204 | <AdditionalOptions>/SUBSYSTEM:WINDOWS,5.01 %(AdditionalOptions)</AdditionalOptions> | ||
205 | </Link> | ||
206 | <Lib> | ||
207 | <MinimumRequiredVersion>5.01</MinimumRequiredVersion> | ||
208 | <AdditionalOptions>/SUBSYSTEM:WINDOWS,5.01 %(AdditionalOptions)</AdditionalOptions> | ||
209 | </Lib> | ||
210 | </ItemDefinitionGroup> | ||
211 | <ItemDefinitionGroup Condition="'$(TargetOSLevel)'=='0' And '$(Platform)'=='x64'"> | ||
212 | <ClCompile> | ||
213 | <PreprocessorDefinitions>_WIN32_WINNT=0x0502;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
214 | </ClCompile> | ||
215 | <Link> | ||
216 | <MinimumRequiredVersion>5.02</MinimumRequiredVersion> | ||
217 | <AdditionalOptions>/SUBSYSTEM:WINDOWS,5.02 %(AdditionalOptions)</AdditionalOptions> | ||
218 | </Link> | ||
219 | <Lib> | ||
220 | <MinimumRequiredVersion>5.02</MinimumRequiredVersion> | ||
221 | <AdditionalOptions>/SUBSYSTEM:WINDOWS,5.02 %(AdditionalOptions)</AdditionalOptions> | ||
222 | </Lib> | ||
223 | </ItemDefinitionGroup> | ||
224 | <ItemDefinitionGroup Condition="'$(ConfigurationType)'=='StaticLibrary'"> | ||
225 | <ClCompile> | ||
226 | <PreprocessorDefinitions>_LIB;MHD_W32LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
227 | </ClCompile> | ||
228 | <Lib> | ||
229 | <AdditionalDependencies>Ws2_32.lib</AdditionalDependencies> | ||
230 | </Lib> | ||
231 | <PostBuildEvent> | ||
232 | <Command>xcopy /F /I /Y "$(IntermediateOutputPath)$(TargetName).pdb" "$(OutputPath)"</Command> | ||
233 | <Message>Copy .pdb to output directory</Message> | ||
234 | </PostBuildEvent> | ||
235 | </ItemDefinitionGroup> | ||
236 | <ItemDefinitionGroup Condition="'$(ConfigurationType)'=='DynamicLibrary'"> | ||
237 | <ClCompile> | ||
238 | <PreprocessorDefinitions>_USRDLL;MHD_W32DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
239 | </ClCompile> | ||
240 | <Link> | ||
241 | <AdditionalDependencies>Ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
242 | </Link> | ||
243 | </ItemDefinitionGroup> | ||
244 | <ItemDefinitionGroup Condition="'$(UseDebugLibraries)'=='true'"> | ||
245 | <ClCompile> | ||
246 | <Optimization>Disabled</Optimization> | ||
247 | <SmallerTypeCheck>true</SmallerTypeCheck> | ||
248 | </ClCompile> | ||
249 | <ResourceCompile> | ||
250 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
251 | </ResourceCompile> | ||
252 | </ItemDefinitionGroup> | ||
253 | <ItemDefinitionGroup Condition="'$(UseDebugLibraries)'!='true'"> | ||
254 | <ClCompile> | ||
255 | <Optimization>Full</Optimization> | ||
256 | <FunctionLevelLinking>true</FunctionLevelLinking> | ||
257 | <IntrinsicFunctions>true</IntrinsicFunctions> | ||
258 | <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion> | ||
259 | <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> | ||
260 | <OmitFramePointers>true</OmitFramePointers> | ||
261 | </ClCompile> | ||
262 | <Link> | ||
263 | <GenerateDebugInformation>true</GenerateDebugInformation> | ||
264 | <EnableCOMDATFolding>true</EnableCOMDATFolding> | ||
265 | <OptimizeReferences>true</OptimizeReferences> | ||
266 | </Link> | ||
267 | <ResourceCompile> | ||
268 | <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
269 | </ResourceCompile> | ||
270 | </ItemDefinitionGroup> | ||
271 | <ItemDefinitionGroup Condition="'$(ConfigurationType)'=='StaticLibrary'"> | ||
272 | <ClCompile> | ||
273 | <RuntimeLibrary Condition="'$(UseDebugLibraries)'=='true'">MultiThreadedDebug</RuntimeLibrary> | ||
274 | <RuntimeLibrary Condition="'$(UseDebugLibraries)'!='true'">MultiThreaded</RuntimeLibrary> | ||
275 | </ClCompile> | ||
276 | </ItemDefinitionGroup> | ||
277 | <ItemDefinitionGroup Condition="'$(ConfigurationType)'=='DynamicLibrary'"> | ||
278 | <ClCompile> | ||
279 | <RuntimeLibrary Condition="'$(UseDebugLibraries)'=='true'">MultiThreadedDebugDLL</RuntimeLibrary> | ||
280 | <RuntimeLibrary Condition="'$(UseDebugLibraries)'!='true'">MultiThreadedDLL</RuntimeLibrary> | ||
281 | </ClCompile> | ||
282 | </ItemDefinitionGroup> | 145 | </ItemDefinitionGroup> |
283 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | 146 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
284 | <ImportGroup Label="ExtensionTargets"> | 147 | <ImportGroup Label="ExtensionTargets"> |
diff --git a/w32/VS2013/libmicrohttpd.vcxproj.filters b/w32/VS2013/libmicrohttpd.vcxproj.filters index fd5796c5..63f58bfb 100644 --- a/w32/VS2013/libmicrohttpd.vcxproj.filters +++ b/w32/VS2013/libmicrohttpd.vcxproj.filters | |||
@@ -1,129 +1,5 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | 2 | <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
3 | <ItemGroup> | 3 | <Import Project="$(SolutionDir)..\common\vs_dirs.props" /> |
4 | <Filter Include="Source Files"> | 4 | <Import Project="$(MhdW32Common)libmicrohttpd-filters.vcxproj" /> |
5 | <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier> | ||
6 | <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions> | ||
7 | </Filter> | ||
8 | <Filter Include="Header Files"> | ||
9 | <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier> | ||
10 | <Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions> | ||
11 | </Filter> | ||
12 | <Filter Include="Resource Files"> | ||
13 | <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier> | ||
14 | <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions> | ||
15 | </Filter> | ||
16 | <Filter Include="Source Files\platform_interface"> | ||
17 | <UniqueIdentifier>{af799bf7-9787-4134-8e56-9e5aae50c7e3}</UniqueIdentifier> | ||
18 | <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions> | ||
19 | </Filter> | ||
20 | <Filter Include="Template Files"> | ||
21 | <UniqueIdentifier>{df5ad836-e372-437b-a0e3-299d3675d6b4}</UniqueIdentifier> | ||
22 | <Extensions>in</Extensions> | ||
23 | </Filter> | ||
24 | </ItemGroup> | ||
25 | <ItemGroup> | ||
26 | <ClCompile Include="$(MhdSrc)microhttpd\base64.c"> | ||
27 | <Filter>Source Files</Filter> | ||
28 | </ClCompile> | ||
29 | <ClCompile Include="$(MhdSrc)microhttpd\basicauth.c"> | ||
30 | <Filter>Source Files</Filter> | ||
31 | </ClCompile> | ||
32 | <ClCompile Include="$(MhdSrc)microhttpd\connection.c"> | ||
33 | <Filter>Source Files</Filter> | ||
34 | </ClCompile> | ||
35 | <ClCompile Include="$(MhdSrc)microhttpd\daemon.c"> | ||
36 | <Filter>Source Files</Filter> | ||
37 | </ClCompile> | ||
38 | <ClCompile Include="$(MhdSrc)microhttpd\digestauth.c"> | ||
39 | <Filter>Source Files</Filter> | ||
40 | </ClCompile> | ||
41 | <ClCompile Include="$(MhdSrc)microhttpd\internal.c"> | ||
42 | <Filter>Source Files</Filter> | ||
43 | </ClCompile> | ||
44 | <ClCompile Include="$(MhdSrc)microhttpd\md5.c"> | ||
45 | <Filter>Source Files</Filter> | ||
46 | </ClCompile> | ||
47 | <ClCompile Include="$(MhdSrc)microhttpd\memorypool.c"> | ||
48 | <Filter>Source Files</Filter> | ||
49 | </ClCompile> | ||
50 | <ClCompile Include="$(MhdSrc)microhttpd\postprocessor.c"> | ||
51 | <Filter>Source Files</Filter> | ||
52 | </ClCompile> | ||
53 | <ClCompile Include="$(MhdSrc)microhttpd\reason_phrase.c"> | ||
54 | <Filter>Source Files</Filter> | ||
55 | </ClCompile> | ||
56 | <ClCompile Include="$(MhdSrc)microhttpd\response.c"> | ||
57 | <Filter>Source Files</Filter> | ||
58 | </ClCompile> | ||
59 | <ClCompile Include="$(MhdSrc)platform\w32functions.c"> | ||
60 | <Filter>Source Files\platform_interface</Filter> | ||
61 | </ClCompile> | ||
62 | <ClCompile Include="$(MhdSrc)microhttpd\tsearch.c"> | ||
63 | <Filter>Source Files</Filter> | ||
64 | </ClCompile> | ||
65 | <ClCompile Include="$(MhdSrc)microhttpd\mhd_mono_clock.c"> | ||
66 | <Filter>Source Files</Filter> | ||
67 | </ClCompile> | ||
68 | </ItemGroup> | ||
69 | <ItemGroup> | ||
70 | <ClInclude Include="$(MhdSrc)microhttpd\base64.h"> | ||
71 | <Filter>Source Files</Filter> | ||
72 | </ClInclude> | ||
73 | <ClInclude Include="$(MhdSrc)microhttpd\connection.h"> | ||
74 | <Filter>Source Files</Filter> | ||
75 | </ClInclude> | ||
76 | <ClInclude Include="$(MhdSrc)microhttpd\internal.h"> | ||
77 | <Filter>Source Files</Filter> | ||
78 | </ClInclude> | ||
79 | <ClInclude Include="$(MhdSrc)microhttpd\md5.h"> | ||
80 | <Filter>Source Files</Filter> | ||
81 | </ClInclude> | ||
82 | <ClInclude Include="$(MhdSrc)microhttpd\memorypool.h"> | ||
83 | <Filter>Source Files</Filter> | ||
84 | </ClInclude> | ||
85 | <ClInclude Include="$(MhdSrc)microhttpd\response.h"> | ||
86 | <Filter>Source Files</Filter> | ||
87 | </ClInclude> | ||
88 | <ClInclude Include="$(MhdSrc)include\microhttpd.h"> | ||
89 | <Filter>Header Files</Filter> | ||
90 | </ClInclude> | ||
91 | <ClInclude Include="$(MhdSrc)include\platform.h"> | ||
92 | <Filter>Header Files</Filter> | ||
93 | </ClInclude> | ||
94 | <ClInclude Include="$(MhdSrc)include\platform_interface.h"> | ||
95 | <Filter>Header Files</Filter> | ||
96 | </ClInclude> | ||
97 | <ClInclude Include="$(MhdSrc)include\w32functions.h"> | ||
98 | <Filter>Header Files</Filter> | ||
99 | </ClInclude> | ||
100 | <ClInclude Include="MHD_config.h"> | ||
101 | <Filter>Header Files</Filter> | ||
102 | </ClInclude> | ||
103 | <ClInclude Include="$(MhdSrc)microhttpd\tsearch.h"> | ||
104 | <Filter>Source Files</Filter> | ||
105 | </ClInclude> | ||
106 | <ClInclude Include="$(MhdSrc)include\autoinit_funcs.h"> | ||
107 | <Filter>Header Files</Filter> | ||
108 | </ClInclude> | ||
109 | <ClInclude Include="$(MhdSrc)microhttpd\mhd_limits.h"> | ||
110 | <Filter>Source Files</Filter> | ||
111 | </ClInclude> | ||
112 | <ClInclude Include="$(MhdSrc)microhttpd\mhd_byteorder.h"> | ||
113 | <Filter>Source Files</Filter> | ||
114 | </ClInclude> | ||
115 | <ClInclude Include="$(MhdSrc)microhttpd\mhd_mono_clock.h"> | ||
116 | <Filter>Source Files</Filter> | ||
117 | </ClInclude> | ||
118 | </ItemGroup> | ||
119 | <ItemGroup> | ||
120 | <ResourceCompile Include="$(MhdW32Common)microhttpd_dll_res_vc.rc"> | ||
121 | <Filter>Resource Files</Filter> | ||
122 | </ResourceCompile> | ||
123 | </ItemGroup> | ||
124 | <ItemGroup> | ||
125 | <CustomBuild Include="$(MhdW32Common)microhttpd_dll_res_vc.rc.in"> | ||
126 | <Filter>Template Files</Filter> | ||
127 | </CustomBuild> | ||
128 | </ItemGroup> | ||
129 | </Project> \ No newline at end of file | 5 | </Project> \ No newline at end of file |
diff --git a/w32/VS2013/MHD_config.h b/w32/common/MHD_config.h index 6a305a50..6a305a50 100644 --- a/w32/VS2013/MHD_config.h +++ b/w32/common/MHD_config.h | |||
diff --git a/w32/common/common-build-settings.vcxproj b/w32/common/common-build-settings.vcxproj new file mode 100644 index 00000000..280fd69a --- /dev/null +++ b/w32/common/common-build-settings.vcxproj | |||
@@ -0,0 +1,99 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
3 | <PropertyGroup Label="UserMacros"> | ||
4 | <!-- WinXP = 0; Vista = 1; Win7 = 2; Win8 = 3... | ||
5 | Only 0 and 1 are used currently --> | ||
6 | <TargetOSLevel Condition="'$(PlatformToolset)'=='v120_xp' Or '$(PlatformToolset)'=='v140_xp'">0</TargetOSLevel> | ||
7 | <TargetOSLevel Condition="'$(PlatformToolset)'!='v120_xp' And '$(PlatformToolset)'!='v140_xp'">1</TargetOSLevel> | ||
8 | </PropertyGroup> | ||
9 | <PropertyGroup> | ||
10 | <IncludePath>$(SolutionDir);$(MhdW32Common);$(MhdSrc)include;$(IncludePath)</IncludePath> | ||
11 | </PropertyGroup> | ||
12 | <PropertyGroup Condition="'$(Platform)'=='Win32'"> | ||
13 | <IntDir>$(SolutionDir)$(ProjectName)\$(Configuration)\</IntDir> | ||
14 | <OutDir>$(SolutionDir)Output\</OutDir> | ||
15 | </PropertyGroup> | ||
16 | <PropertyGroup Condition="'$(Platform)'=='x64'"> | ||
17 | <IntDir>$(SolutionDir)$(ProjectName)\$(Configuration)\$(Platform)\</IntDir> | ||
18 | <OutDir>$(SolutionDir)Output\$(Platform)\</OutDir> | ||
19 | </PropertyGroup> | ||
20 | <PropertyGroup Condition="'$(UseDebugLibraries)'=='true'"> | ||
21 | <LinkIncremental>true</LinkIncremental> | ||
22 | </PropertyGroup> | ||
23 | <PropertyGroup Condition="'$(UseDebugLibraries)'!='true'"> | ||
24 | <LinkIncremental>false</LinkIncremental> | ||
25 | </PropertyGroup> | ||
26 | <ItemDefinitionGroup> | ||
27 | <ClCompile> | ||
28 | <PrecompiledHeader>NotUsing</PrecompiledHeader> | ||
29 | <WarningLevel>Level3</WarningLevel> | ||
30 | <PreprocessorDefinitions>WIN32;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
31 | <DisableSpecificWarnings>4996</DisableSpecificWarnings> | ||
32 | <TreatSpecificWarningsAsErrors>4013</TreatSpecificWarningsAsErrors> | ||
33 | <ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName> | ||
34 | <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> | ||
35 | </ClCompile> | ||
36 | <Link> | ||
37 | <GenerateDebugInformation>true</GenerateDebugInformation> | ||
38 | </Link> | ||
39 | </ItemDefinitionGroup> | ||
40 | <ItemDefinitionGroup Condition="'$(TargetOSLevel)'>'0'"> | ||
41 | <ClCompile> | ||
42 | <PreprocessorDefinitions>_WIN32_WINNT=0x0600;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
43 | </ClCompile> | ||
44 | <Link> | ||
45 | <MinimumRequiredVersion>6.00</MinimumRequiredVersion> | ||
46 | </Link> | ||
47 | <Lib> | ||
48 | <MinimumRequiredVersion>6.00</MinimumRequiredVersion> | ||
49 | </Lib> | ||
50 | </ItemDefinitionGroup> | ||
51 | <ItemDefinitionGroup Condition="'$(TargetOSLevel)'=='0' And '$(Platform)'=='Win32'"> | ||
52 | <ClCompile> | ||
53 | <PreprocessorDefinitions>_WIN32_WINNT=0x0501;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
54 | </ClCompile> | ||
55 | <Link> | ||
56 | <MinimumRequiredVersion>5.01</MinimumRequiredVersion> | ||
57 | </Link> | ||
58 | <Lib> | ||
59 | <MinimumRequiredVersion>5.01</MinimumRequiredVersion> | ||
60 | </Lib> | ||
61 | </ItemDefinitionGroup> | ||
62 | <ItemDefinitionGroup Condition="'$(TargetOSLevel)'=='0' And '$(Platform)'=='x64'"> | ||
63 | <ClCompile> | ||
64 | <PreprocessorDefinitions>_WIN32_WINNT=0x0502;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
65 | </ClCompile> | ||
66 | <Link> | ||
67 | <MinimumRequiredVersion>5.02</MinimumRequiredVersion> | ||
68 | </Link> | ||
69 | <Lib> | ||
70 | <MinimumRequiredVersion>5.02</MinimumRequiredVersion> | ||
71 | </Lib> | ||
72 | </ItemDefinitionGroup> | ||
73 | <ItemDefinitionGroup Condition="'$(UseDebugLibraries)'=='true'"> | ||
74 | <ClCompile> | ||
75 | <Optimization>Disabled</Optimization> | ||
76 | <SmallerTypeCheck>true</SmallerTypeCheck> | ||
77 | </ClCompile> | ||
78 | <ResourceCompile> | ||
79 | <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
80 | </ResourceCompile> | ||
81 | </ItemDefinitionGroup> | ||
82 | <ItemDefinitionGroup Condition="'$(UseDebugLibraries)'!='true'"> | ||
83 | <ClCompile> | ||
84 | <Optimization>Full</Optimization> | ||
85 | <FunctionLevelLinking>true</FunctionLevelLinking> | ||
86 | <IntrinsicFunctions>true</IntrinsicFunctions> | ||
87 | <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion> | ||
88 | <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> | ||
89 | <OmitFramePointers>true</OmitFramePointers> | ||
90 | </ClCompile> | ||
91 | <Link> | ||
92 | <EnableCOMDATFolding>true</EnableCOMDATFolding> | ||
93 | <OptimizeReferences>true</OptimizeReferences> | ||
94 | </Link> | ||
95 | <ResourceCompile> | ||
96 | <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
97 | </ResourceCompile> | ||
98 | </ItemDefinitionGroup> | ||
99 | </Project> | ||
diff --git a/w32/common/hellobrowser-build-settings.vcxproj b/w32/common/hellobrowser-build-settings.vcxproj new file mode 100644 index 00000000..45e7ed7a --- /dev/null +++ b/w32/common/hellobrowser-build-settings.vcxproj | |||
@@ -0,0 +1,32 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
3 | <PropertyGroup Condition="'$(Configuration)'=='Debug-static'"> | ||
4 | <TargetName>$(ProjectName)_d</TargetName> | ||
5 | </PropertyGroup> | ||
6 | <PropertyGroup Condition="'$(Configuration)'=='Debug-dll'"> | ||
7 | <TargetName>$(ProjectName)-dll_d</TargetName> | ||
8 | </PropertyGroup> | ||
9 | <PropertyGroup Condition="'$(Configuration)'=='Release-static'"> | ||
10 | <TargetName>$(ProjectName)</TargetName> | ||
11 | </PropertyGroup> | ||
12 | <PropertyGroup Condition="'$(Configuration)'=='Release-dll'"> | ||
13 | <TargetName>$(ProjectName)-dll</TargetName> | ||
14 | </PropertyGroup> | ||
15 | <ItemDefinitionGroup> | ||
16 | <ClCompile> | ||
17 | <PreprocessorDefinitions>_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
18 | </ClCompile> | ||
19 | <Link> | ||
20 | <SubSystem>Console</SubSystem> | ||
21 | </Link> | ||
22 | <ProjectReference /> | ||
23 | </ItemDefinitionGroup> | ||
24 | <ItemDefinitionGroup> | ||
25 | <ClCompile> | ||
26 | <RuntimeLibrary Condition="'$(Configuration)'=='Debug-static'">MultiThreadedDebug</RuntimeLibrary> | ||
27 | <RuntimeLibrary Condition="'$(Configuration)'=='Debug-dll'">MultiThreadedDebugDLL</RuntimeLibrary> | ||
28 | <RuntimeLibrary Condition="'$(Configuration)'=='Release-static'">MultiThreaded</RuntimeLibrary> | ||
29 | <RuntimeLibrary Condition="'$(Configuration)'=='Release-dll'">MultiThreadedDLL</RuntimeLibrary> | ||
30 | </ClCompile> | ||
31 | </ItemDefinitionGroup> | ||
32 | </Project> | ||
diff --git a/w32/common/hellobrowser-files.vcxproj b/w32/common/hellobrowser-files.vcxproj new file mode 100644 index 00000000..f7caefb6 --- /dev/null +++ b/w32/common/hellobrowser-files.vcxproj | |||
@@ -0,0 +1,11 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
3 | <ItemGroup> | ||
4 | <ClCompile Include="$(MhdRoot)doc\examples\hellobrowser.c" /> | ||
5 | </ItemGroup> | ||
6 | <ItemGroup> | ||
7 | <ProjectReference Include="libmicrohttpd.vcxproj"> | ||
8 | <Project>{9cfb0342-a9e7-483e-bee5-a1de22584c5a}</Project> | ||
9 | </ProjectReference> | ||
10 | </ItemGroup> | ||
11 | </Project> | ||
diff --git a/w32/common/hellobrowser-filters.vcxproj b/w32/common/hellobrowser-filters.vcxproj new file mode 100644 index 00000000..c985906e --- /dev/null +++ b/w32/common/hellobrowser-filters.vcxproj | |||
@@ -0,0 +1,22 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
3 | <ItemGroup> | ||
4 | <Filter Include="Source Files"> | ||
5 | <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier> | ||
6 | <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions> | ||
7 | </Filter> | ||
8 | <Filter Include="Header Files"> | ||
9 | <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier> | ||
10 | <Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions> | ||
11 | </Filter> | ||
12 | <Filter Include="Resource Files"> | ||
13 | <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier> | ||
14 | <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions> | ||
15 | </Filter> | ||
16 | </ItemGroup> | ||
17 | <ItemGroup> | ||
18 | <ClCompile Include="$(MhdRoot)doc\examples\hellobrowser.c"> | ||
19 | <Filter>Source Files</Filter> | ||
20 | </ClCompile> | ||
21 | </ItemGroup> | ||
22 | </Project> | ||
diff --git a/w32/common/libmicrohttpd-build-settings.vcxproj b/w32/common/libmicrohttpd-build-settings.vcxproj new file mode 100644 index 00000000..97d84a87 --- /dev/null +++ b/w32/common/libmicrohttpd-build-settings.vcxproj | |||
@@ -0,0 +1,55 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
3 | <PropertyGroup> | ||
4 | <CustomBuildBeforeTargets>ResourceCompile</CustomBuildBeforeTargets> | ||
5 | </PropertyGroup> | ||
6 | <PropertyGroup Condition="'$(ConfigurationType)'=='StaticLibrary'"> | ||
7 | <TargetName Condition="'$(UseDebugLibraries)'=='true'">$(ProjectName)_d</TargetName> | ||
8 | <TargetName Condition="'$(UseDebugLibraries)'!='true'">$(ProjectName)</TargetName> | ||
9 | </PropertyGroup> | ||
10 | <PropertyGroup Condition="'$(ConfigurationType)'=='DynamicLibrary'"> | ||
11 | <TargetName Condition="'$(UseDebugLibraries)'=='true'">$(ProjectName)-dll_d</TargetName> | ||
12 | <TargetName Condition="'$(UseDebugLibraries)'!='true'">$(ProjectName)-dll</TargetName> | ||
13 | </PropertyGroup> | ||
14 | <ItemDefinitionGroup> | ||
15 | <ClCompile> | ||
16 | <PreprocessorDefinitions>BUILDING_MHD_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
17 | </ClCompile> | ||
18 | <Link> | ||
19 | <Subsystem>WINDOWS</Subsystem> | ||
20 | </Link> | ||
21 | <Lib> | ||
22 | <SubSystem>Windows</SubSystem> | ||
23 | </Lib> | ||
24 | <CustomBuildStep> | ||
25 | <Message>Copy headers to output</Message> | ||
26 | <Command>xcopy /F /I /Y "$(MhdSrc)include\microhttpd.h" "$(OutputPath)"</Command> | ||
27 | <Outputs>$(OutputPath)microhttpd.h;%(Outputs)</Outputs> | ||
28 | <Inputs>$(MhdSrc)include\microhttpd.h</Inputs> | ||
29 | </CustomBuildStep> | ||
30 | </ItemDefinitionGroup> | ||
31 | <ItemDefinitionGroup Condition="'$(ConfigurationType)'=='StaticLibrary'"> | ||
32 | <ClCompile> | ||
33 | <PreprocessorDefinitions>_LIB;MHD_W32LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
34 | <RuntimeLibrary Condition="'$(UseDebugLibraries)'=='true'">MultiThreadedDebug</RuntimeLibrary> | ||
35 | <RuntimeLibrary Condition="'$(UseDebugLibraries)'!='true'">MultiThreaded</RuntimeLibrary> | ||
36 | </ClCompile> | ||
37 | <Lib> | ||
38 | <AdditionalDependencies>Ws2_32.lib</AdditionalDependencies> | ||
39 | </Lib> | ||
40 | <PostBuildEvent> | ||
41 | <Command>xcopy /F /I /Y "$(IntermediateOutputPath)$(TargetName).pdb" "$(OutputPath)"</Command> | ||
42 | <Message>Copy .pdb to output directory</Message> | ||
43 | </PostBuildEvent> | ||
44 | </ItemDefinitionGroup> | ||
45 | <ItemDefinitionGroup Condition="'$(ConfigurationType)'=='DynamicLibrary'"> | ||
46 | <ClCompile> | ||
47 | <PreprocessorDefinitions>_USRDLL;MHD_W32DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
48 | <RuntimeLibrary Condition="'$(UseDebugLibraries)'=='true'">MultiThreadedDebugDLL</RuntimeLibrary> | ||
49 | <RuntimeLibrary Condition="'$(UseDebugLibraries)'!='true'">MultiThreadedDLL</RuntimeLibrary> | ||
50 | </ClCompile> | ||
51 | <Link> | ||
52 | <AdditionalDependencies>Ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
53 | </Link> | ||
54 | </ItemDefinitionGroup> | ||
55 | </Project> | ||
diff --git a/w32/common/libmicrohttpd-files.vcxproj b/w32/common/libmicrohttpd-files.vcxproj index c51c53d1..20f1913a 100644 --- a/w32/common/libmicrohttpd-files.vcxproj +++ b/w32/common/libmicrohttpd-files.vcxproj | |||
@@ -32,7 +32,7 @@ | |||
32 | <ClInclude Include="$(MhdSrc)microhttpd\mhd_mono_clock.h" /> | 32 | <ClInclude Include="$(MhdSrc)microhttpd\mhd_mono_clock.h" /> |
33 | <ClInclude Include="$(MhdSrc)microhttpd\response.h" /> | 33 | <ClInclude Include="$(MhdSrc)microhttpd\response.h" /> |
34 | <ClInclude Include="$(MhdSrc)microhttpd\tsearch.h" /> | 34 | <ClInclude Include="$(MhdSrc)microhttpd\tsearch.h" /> |
35 | <ClInclude Include="MHD_config.h" /> | 35 | <ClInclude Include="$(MhdW32Common)MHD_config.h" /> |
36 | </ItemGroup> | 36 | </ItemGroup> |
37 | <ItemGroup> | 37 | <ItemGroup> |
38 | <ResourceCompile Include="$(MhdW32Common)microhttpd_dll_res_vc.rc"> | 38 | <ResourceCompile Include="$(MhdW32Common)microhttpd_dll_res_vc.rc"> |
diff --git a/w32/common/libmicrohttpd-filters.vcxproj b/w32/common/libmicrohttpd-filters.vcxproj new file mode 100644 index 00000000..5c54751b --- /dev/null +++ b/w32/common/libmicrohttpd-filters.vcxproj | |||
@@ -0,0 +1,129 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
3 | <ItemGroup> | ||
4 | <Filter Include="Source Files"> | ||
5 | <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier> | ||
6 | <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions> | ||
7 | </Filter> | ||
8 | <Filter Include="Header Files"> | ||
9 | <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier> | ||
10 | <Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions> | ||
11 | </Filter> | ||
12 | <Filter Include="Resource Files"> | ||
13 | <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier> | ||
14 | <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions> | ||
15 | </Filter> | ||
16 | <Filter Include="Source Files\platform_interface"> | ||
17 | <UniqueIdentifier>{af799bf7-9787-4134-8e56-9e5aae50c7e3}</UniqueIdentifier> | ||
18 | <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions> | ||
19 | </Filter> | ||
20 | <Filter Include="Template Files"> | ||
21 | <UniqueIdentifier>{df5ad836-e372-437b-a0e3-299d3675d6b4}</UniqueIdentifier> | ||
22 | <Extensions>in</Extensions> | ||
23 | </Filter> | ||
24 | </ItemGroup> | ||
25 | <ItemGroup> | ||
26 | <ClCompile Include="$(MhdSrc)microhttpd\base64.c"> | ||
27 | <Filter>Source Files</Filter> | ||
28 | </ClCompile> | ||
29 | <ClCompile Include="$(MhdSrc)microhttpd\basicauth.c"> | ||
30 | <Filter>Source Files</Filter> | ||
31 | </ClCompile> | ||
32 | <ClCompile Include="$(MhdSrc)microhttpd\connection.c"> | ||
33 | <Filter>Source Files</Filter> | ||
34 | </ClCompile> | ||
35 | <ClCompile Include="$(MhdSrc)microhttpd\daemon.c"> | ||
36 | <Filter>Source Files</Filter> | ||
37 | </ClCompile> | ||
38 | <ClCompile Include="$(MhdSrc)microhttpd\digestauth.c"> | ||
39 | <Filter>Source Files</Filter> | ||
40 | </ClCompile> | ||
41 | <ClCompile Include="$(MhdSrc)microhttpd\internal.c"> | ||
42 | <Filter>Source Files</Filter> | ||
43 | </ClCompile> | ||
44 | <ClCompile Include="$(MhdSrc)microhttpd\md5.c"> | ||
45 | <Filter>Source Files</Filter> | ||
46 | </ClCompile> | ||
47 | <ClCompile Include="$(MhdSrc)microhttpd\memorypool.c"> | ||
48 | <Filter>Source Files</Filter> | ||
49 | </ClCompile> | ||
50 | <ClCompile Include="$(MhdSrc)microhttpd\postprocessor.c"> | ||
51 | <Filter>Source Files</Filter> | ||
52 | </ClCompile> | ||
53 | <ClCompile Include="$(MhdSrc)microhttpd\reason_phrase.c"> | ||
54 | <Filter>Source Files</Filter> | ||
55 | </ClCompile> | ||
56 | <ClCompile Include="$(MhdSrc)microhttpd\response.c"> | ||
57 | <Filter>Source Files</Filter> | ||
58 | </ClCompile> | ||
59 | <ClCompile Include="$(MhdSrc)platform\w32functions.c"> | ||
60 | <Filter>Source Files\platform_interface</Filter> | ||
61 | </ClCompile> | ||
62 | <ClCompile Include="$(MhdSrc)microhttpd\tsearch.c"> | ||
63 | <Filter>Source Files</Filter> | ||
64 | </ClCompile> | ||
65 | <ClCompile Include="$(MhdSrc)microhttpd\mhd_mono_clock.c"> | ||
66 | <Filter>Source Files</Filter> | ||
67 | </ClCompile> | ||
68 | </ItemGroup> | ||
69 | <ItemGroup> | ||
70 | <ClInclude Include="$(MhdSrc)microhttpd\base64.h"> | ||
71 | <Filter>Source Files</Filter> | ||
72 | </ClInclude> | ||
73 | <ClInclude Include="$(MhdSrc)microhttpd\connection.h"> | ||
74 | <Filter>Source Files</Filter> | ||
75 | </ClInclude> | ||
76 | <ClInclude Include="$(MhdSrc)microhttpd\internal.h"> | ||
77 | <Filter>Source Files</Filter> | ||
78 | </ClInclude> | ||
79 | <ClInclude Include="$(MhdSrc)microhttpd\md5.h"> | ||
80 | <Filter>Source Files</Filter> | ||
81 | </ClInclude> | ||
82 | <ClInclude Include="$(MhdSrc)microhttpd\memorypool.h"> | ||
83 | <Filter>Source Files</Filter> | ||
84 | </ClInclude> | ||
85 | <ClInclude Include="$(MhdSrc)microhttpd\response.h"> | ||
86 | <Filter>Source Files</Filter> | ||
87 | </ClInclude> | ||
88 | <ClInclude Include="$(MhdSrc)include\microhttpd.h"> | ||
89 | <Filter>Header Files</Filter> | ||
90 | </ClInclude> | ||
91 | <ClInclude Include="$(MhdSrc)include\platform.h"> | ||
92 | <Filter>Header Files</Filter> | ||
93 | </ClInclude> | ||
94 | <ClInclude Include="$(MhdSrc)include\platform_interface.h"> | ||
95 | <Filter>Header Files</Filter> | ||
96 | </ClInclude> | ||
97 | <ClInclude Include="$(MhdSrc)include\w32functions.h"> | ||
98 | <Filter>Header Files</Filter> | ||
99 | </ClInclude> | ||
100 | <ClInclude Include="$(MhdW32Common)MHD_config.h"> | ||
101 | <Filter>Header Files</Filter> | ||
102 | </ClInclude> | ||
103 | <ClInclude Include="$(MhdSrc)microhttpd\tsearch.h"> | ||
104 | <Filter>Source Files</Filter> | ||
105 | </ClInclude> | ||
106 | <ClInclude Include="$(MhdSrc)include\autoinit_funcs.h"> | ||
107 | <Filter>Header Files</Filter> | ||
108 | </ClInclude> | ||
109 | <ClInclude Include="$(MhdSrc)microhttpd\mhd_limits.h"> | ||
110 | <Filter>Source Files</Filter> | ||
111 | </ClInclude> | ||
112 | <ClInclude Include="$(MhdSrc)microhttpd\mhd_byteorder.h"> | ||
113 | <Filter>Source Files</Filter> | ||
114 | </ClInclude> | ||
115 | <ClInclude Include="$(MhdSrc)microhttpd\mhd_mono_clock.h"> | ||
116 | <Filter>Source Files</Filter> | ||
117 | </ClInclude> | ||
118 | </ItemGroup> | ||
119 | <ItemGroup> | ||
120 | <ResourceCompile Include="$(MhdW32Common)microhttpd_dll_res_vc.rc"> | ||
121 | <Filter>Resource Files</Filter> | ||
122 | </ResourceCompile> | ||
123 | </ItemGroup> | ||
124 | <ItemGroup> | ||
125 | <CustomBuild Include="$(MhdW32Common)microhttpd_dll_res_vc.rc.in"> | ||
126 | <Filter>Template Files</Filter> | ||
127 | </CustomBuild> | ||
128 | </ItemGroup> | ||
129 | </Project> | ||