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/VS2013 | |
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/VS2013')
-rw-r--r-- | w32/VS2013/MHD_config.h | 129 | ||||
-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 |
5 files changed, 16 insertions, 506 deletions
diff --git a/w32/VS2013/MHD_config.h b/w32/VS2013/MHD_config.h deleted file mode 100644 index 6a305a50..00000000 --- a/w32/VS2013/MHD_config.h +++ /dev/null | |||
@@ -1,129 +0,0 @@ | |||
1 | /* MHD_config.h for W32 */ | ||
2 | /* Created manually. */ | ||
3 | |||
4 | /* *** Basic OS/compiler information *** */ | ||
5 | |||
6 | /* This is a Windows system */ | ||
7 | #define WINDOWS 1 | ||
8 | |||
9 | /* Define if MS VC compiler is used */ | ||
10 | #define MSVC 1 | ||
11 | |||
12 | /* *** MHD configuration *** */ | ||
13 | /* Undef to disable feature */ | ||
14 | |||
15 | /* Enable basic Auth support */ | ||
16 | #define BAUTH_SUPPORT 1 | ||
17 | |||
18 | /* Enable digest Auth support */ | ||
19 | #define DAUTH_SUPPORT 1 | ||
20 | |||
21 | /* Enable postprocessor.c */ | ||
22 | #define HAVE_POSTPROCESSOR 1 | ||
23 | |||
24 | /* Enable error messages */ | ||
25 | #define HAVE_MESSAGES 1 | ||
26 | |||
27 | /* Disable HTTPS support */ | ||
28 | #define HTTPS_SUPPORT 0 | ||
29 | |||
30 | |||
31 | /* *** OS features *** */ | ||
32 | |||
33 | /* Provides IPv6 headers */ | ||
34 | #define HAVE_INET6 1 | ||
35 | |||
36 | /* Define to use pair of sockets instead of pipes for signaling */ | ||
37 | #define MHD_DONT_USE_PIPES 1 | ||
38 | |||
39 | /* define to use W32 threads */ | ||
40 | #define MHD_USE_W32_THREADS 1 | ||
41 | |||
42 | #ifndef _WIN32_WINNT | ||
43 | /* MHD supports Windows XP and later W32 systems*/ | ||
44 | #define _WIN32_WINNT 0x0501 | ||
45 | #endif /* _WIN32_WINNT */ | ||
46 | |||
47 | /* winsock poll is available only on Vista and later */ | ||
48 | #if _WIN32_WINNT >= 0x0600 | ||
49 | #define HAVE_POLL 1 | ||
50 | #endif /* _WIN32_WINNT >= 0x0600 */ | ||
51 | |||
52 | /* define to 0 to disable epoll support */ | ||
53 | #define EPOLL_SUPPORT 0 | ||
54 | |||
55 | /* Define to 1 if you have the <winsock2.h> header file. */ | ||
56 | #define HAVE_WINSOCK2_H 1 | ||
57 | |||
58 | /* Define to 1 if you have the <ws2tcpip.h> header file. */ | ||
59 | #define HAVE_WS2TCPIP_H 1 | ||
60 | |||
61 | /* Define to 1 if you have the declaration of `SOCK_NONBLOCK', and to 0 if you | ||
62 | don't. */ | ||
63 | #define HAVE_DECL_SOCK_NONBLOCK 0 | ||
64 | |||
65 | /* Define to 1 if you have the `_lseeki64' function. */ | ||
66 | #define HAVE___LSEEKI64 1 | ||
67 | |||
68 | |||
69 | /* *** Headers information *** */ | ||
70 | /* Not really important as not used by code currently */ | ||
71 | |||
72 | /* Define to 1 if you have the <errno.h> header file. */ | ||
73 | #define HAVE_ERRNO_H 1 | ||
74 | |||
75 | /* Define to 1 if you have the <fcntl.h> header file. */ | ||
76 | #define HAVE_FCNTL_H 1 | ||
77 | |||
78 | /* Define to 1 if you have the <inttypes.h> header file. */ | ||
79 | #define HAVE_INTTYPES_H 1 | ||
80 | |||
81 | /* Define to 1 if you have the <limits.h> header file. */ | ||
82 | #define HAVE_LIMITS_H 1 | ||
83 | |||
84 | /* Define to 1 if you have the <locale.h> header file. */ | ||
85 | #define HAVE_LOCALE_H 1 | ||
86 | |||
87 | /* Define to 1 if you have the <math.h> header file. */ | ||
88 | #define HAVE_MATH_H 1 | ||
89 | |||
90 | /* Define to 1 if you have the <memory.h> header file. */ | ||
91 | #define HAVE_MEMORY_H 1 | ||
92 | |||
93 | /* Define to 1 if you have the <pthread.h> header file. */ | ||
94 | #define HAVE_PTHREAD_H 0 | ||
95 | |||
96 | /* Define to 1 if you have the <stdint.h> header file. */ | ||
97 | #define HAVE_STDINT_H 1 | ||
98 | |||
99 | /* Define to 1 if you have the <stdio.h> header file. */ | ||
100 | #define HAVE_STDIO_H 1 | ||
101 | |||
102 | /* Define to 1 if you have the <stdlib.h> header file. */ | ||
103 | #define HAVE_STDLIB_H 1 | ||
104 | |||
105 | /* Define to 1 if you have the <strings.h> header file. */ | ||
106 | #define HAVE_STRINGS_H 1 | ||
107 | |||
108 | /* Define to 1 if you have the <string.h> header file. */ | ||
109 | #define HAVE_STRING_H 1 | ||
110 | |||
111 | /* Define to 1 if you have the <sys/stat.h> header file. */ | ||
112 | #define HAVE_SYS_STAT_H 1 | ||
113 | |||
114 | /* Define to 1 if you have the <sys/types.h> header file. */ | ||
115 | #define HAVE_SYS_TYPES_H 1 | ||
116 | |||
117 | /* Define to 1 if you have the <time.h> header file. */ | ||
118 | #define HAVE_TIME_H 1 | ||
119 | |||
120 | |||
121 | /* *** Other useful staff *** */ | ||
122 | |||
123 | #define _GNU_SOURCE 1 | ||
124 | |||
125 | /* Define to 1 if you have the ANSI C header files. */ | ||
126 | #define STDC_HEADERS 1 | ||
127 | |||
128 | |||
129 | /* End of MHD_config.h */ | ||
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 |