|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | | -<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| 2 | +<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
3 | 3 | <ItemGroup Label="ProjectConfigurations"> |
4 | 4 | <ProjectConfiguration Include="Debug|Win32"> |
5 | 5 | <Configuration>Debug</Configuration> |
|
22 | 22 | <ClCompile Include="..\..\src\FileIncoming.cpp" /> |
23 | 23 | <ClCompile Include="..\..\src\Main.cpp" /> |
24 | 24 | <ClCompile Include="..\..\src\Socket.cpp" /> |
| 25 | + <ClCompile Include="..\..\src\SocketAdapter.cpp" /> |
| 26 | + <ClCompile Include="..\..\src\SocketAdapterDefault.cpp" /> |
| 27 | + <ClCompile Include="..\..\src\SocketAdapterTls.cpp" /> |
25 | 28 | <ClCompile Include="..\..\src\System.cpp" /> |
26 | 29 | <ClCompile Include="..\..\src\Test.cpp" /> |
27 | 30 | <ClCompile Include="..\..\src\Utils.cpp" /> |
|
33 | 36 | <ClInclude Include="..\..\src\ServerRequest.h" /> |
34 | 37 | <ClInclude Include="..\..\src\ServerResponse.h" /> |
35 | 38 | <ClInclude Include="..\..\src\Socket.h" /> |
| 39 | + <ClInclude Include="..\..\src\SocketAdapter.h" /> |
| 40 | + <ClInclude Include="..\..\src\SocketAdapterDefault.h" /> |
| 41 | + <ClInclude Include="..\..\src\SocketAdapterTls.h" /> |
36 | 42 | <ClInclude Include="..\..\src\System.h" /> |
37 | 43 | <ClInclude Include="..\..\src\Test.h" /> |
38 | 44 | <ClInclude Include="..\..\src\Utils.h" /> |
|
46 | 52 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> |
47 | 53 | <ConfigurationType>DynamicLibrary</ConfigurationType> |
48 | 54 | <UseDebugLibraries>true</UseDebugLibraries> |
49 | | - <PlatformToolset>v120</PlatformToolset> |
| 55 | + <PlatformToolset>v140</PlatformToolset> |
50 | 56 | <CharacterSet>MultiByte</CharacterSet> |
51 | 57 | </PropertyGroup> |
52 | 58 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> |
53 | 59 | <ConfigurationType>DynamicLibrary</ConfigurationType> |
54 | 60 | <UseDebugLibraries>true</UseDebugLibraries> |
55 | | - <PlatformToolset>v120</PlatformToolset> |
| 61 | + <PlatformToolset>v140</PlatformToolset> |
56 | 62 | <CharacterSet>MultiByte</CharacterSet> |
57 | 63 | </PropertyGroup> |
58 | 64 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> |
59 | 65 | <ConfigurationType>DynamicLibrary</ConfigurationType> |
60 | 66 | <UseDebugLibraries>false</UseDebugLibraries> |
61 | | - <PlatformToolset>v120</PlatformToolset> |
| 67 | + <PlatformToolset>v140</PlatformToolset> |
62 | 68 | <WholeProgramOptimization>true</WholeProgramOptimization> |
63 | 69 | <CharacterSet>MultiByte</CharacterSet> |
64 | 70 | </PropertyGroup> |
65 | 71 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> |
66 | 72 | <ConfigurationType>DynamicLibrary</ConfigurationType> |
67 | 73 | <UseDebugLibraries>false</UseDebugLibraries> |
68 | | - <PlatformToolset>v120</PlatformToolset> |
| 74 | + <PlatformToolset>v140</PlatformToolset> |
69 | 75 | <WholeProgramOptimization>true</WholeProgramOptimization> |
70 | 76 | <CharacterSet>MultiByte</CharacterSet> |
71 | 77 | </PropertyGroup> |
|
89 | 95 | <LinkIncremental>true</LinkIncremental> |
90 | 96 | <OutDir>..\..\build\$(Platform)\$(Configuration)\</OutDir> |
91 | 97 | <IntDir>..\..\build\$(Platform)\$(Configuration)\</IntDir> |
| 98 | + <IncludePath>D:\usr\include;$(IncludePath)</IncludePath> |
| 99 | + <LibraryPath>D:\usr\lib;$(LibraryPath)</LibraryPath> |
92 | 100 | </PropertyGroup> |
93 | 101 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
94 | 102 | <LinkIncremental>true</LinkIncremental> |
95 | 103 | <OutDir>..\..\build\$(Platform)\$(Configuration)\</OutDir> |
96 | 104 | <IntDir>..\..\build\$(Platform)\$(Configuration)\</IntDir> |
| 105 | + <IncludePath>D:\usr\include;$(IncludePath)</IncludePath> |
| 106 | + <LibraryPath>D:\usr\lib64;$(LibraryPath)</LibraryPath> |
97 | 107 | </PropertyGroup> |
98 | 108 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
99 | 109 | <LinkIncremental>false</LinkIncremental> |
100 | 110 | <OutDir>..\..\build\$(Platform)\$(Configuration)\</OutDir> |
101 | 111 | <IntDir>..\..\build\$(Platform)\$(Configuration)\</IntDir> |
| 112 | + <IncludePath>D:\usr\include;$(IncludePath)</IncludePath> |
| 113 | + <LibraryPath>D:\usr\lib;$(LibraryPath)</LibraryPath> |
102 | 114 | </PropertyGroup> |
103 | 115 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
104 | 116 | <LinkIncremental>false</LinkIncremental> |
105 | 117 | <OutDir>..\..\build\$(Platform)\$(Configuration)\</OutDir> |
106 | 118 | <IntDir>..\..\build\$(Platform)\$(Configuration)\</IntDir> |
| 119 | + <IncludePath>D:\usr\include;$(IncludePath)</IncludePath> |
| 120 | + <LibraryPath>D:\usr\lib64;$(LibraryPath)</LibraryPath> |
107 | 121 | </PropertyGroup> |
108 | 122 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
109 | 123 | <ClCompile> |
110 | 124 | <PrecompiledHeader>NotUsing</PrecompiledHeader> |
111 | 125 | <WarningLevel>Level3</WarningLevel> |
112 | 126 | <Optimization>Disabled</Optimization> |
113 | | - <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;HTTPSERVERAPP_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
| 127 | + <PreprocessorDefinitions>WIN32;DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
114 | 128 | <AssemblerListingLocation>$(IntDir)asm\</AssemblerListingLocation> |
115 | 129 | <ObjectFileName>$(IntDir)obj\</ObjectFileName> |
116 | 130 | <MultiProcessorCompilation>true</MultiProcessorCompilation> |
| 131 | + <AdditionalOptions>-Dssize_t=long %(AdditionalOptions)</AdditionalOptions> |
117 | 132 | </ClCompile> |
118 | 133 | <Link> |
119 | 134 | <SubSystem>Windows</SubSystem> |
120 | 135 | <GenerateDebugInformation>true</GenerateDebugInformation> |
| 136 | + <AdditionalDependencies>ws2_32.lib;libgnutls.dll.a;%(AdditionalDependencies)</AdditionalDependencies> |
121 | 137 | </Link> |
122 | 138 | </ItemDefinitionGroup> |
123 | 139 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
124 | 140 | <ClCompile> |
125 | 141 | <PrecompiledHeader>NotUsing</PrecompiledHeader> |
126 | 142 | <WarningLevel>Level3</WarningLevel> |
127 | 143 | <Optimization>Disabled</Optimization> |
128 | | - <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;HTTPSERVERAPP_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
| 144 | + <PreprocessorDefinitions>WIN32;DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
129 | 145 | <AssemblerListingLocation>$(IntDir)asm\</AssemblerListingLocation> |
130 | 146 | <ObjectFileName>$(IntDir)obj\</ObjectFileName> |
131 | 147 | <MultiProcessorCompilation>true</MultiProcessorCompilation> |
| 148 | + <AdditionalOptions>-Dssize_t=long %(AdditionalOptions)</AdditionalOptions> |
132 | 149 | </ClCompile> |
133 | 150 | <Link> |
134 | 151 | <SubSystem>Windows</SubSystem> |
135 | 152 | <GenerateDebugInformation>true</GenerateDebugInformation> |
| 153 | + <AdditionalDependencies>ws2_32.lib;libgnutls.dll.a;%(AdditionalDependencies)</AdditionalDependencies> |
136 | 154 | </Link> |
137 | 155 | </ItemDefinitionGroup> |
138 | 156 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
|
142 | 160 | <Optimization>MaxSpeed</Optimization> |
143 | 161 | <FunctionLevelLinking>true</FunctionLevelLinking> |
144 | 162 | <IntrinsicFunctions>true</IntrinsicFunctions> |
145 | | - <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
| 163 | + <PreprocessorDefinitions>WIN32;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
146 | 164 | <AssemblerListingLocation>$(IntDir)asm\</AssemblerListingLocation> |
147 | 165 | <ObjectFileName>$(IntDir)obj\</ObjectFileName> |
148 | 166 | <MultiProcessorCompilation>true</MultiProcessorCompilation> |
| 167 | + <AdditionalOptions>-Dssize_t=long %(AdditionalOptions)</AdditionalOptions> |
149 | 168 | </ClCompile> |
150 | 169 | <Link> |
151 | 170 | <SubSystem>Windows</SubSystem> |
152 | 171 | <GenerateDebugInformation>true</GenerateDebugInformation> |
153 | 172 | <EnableCOMDATFolding>true</EnableCOMDATFolding> |
154 | 173 | <OptimizeReferences>true</OptimizeReferences> |
| 174 | + <AdditionalDependencies>ws2_32.lib;libgnutls.dll.a;%(AdditionalDependencies)</AdditionalDependencies> |
155 | 175 | </Link> |
156 | 176 | </ItemDefinitionGroup> |
157 | 177 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
|
161 | 181 | <Optimization>MaxSpeed</Optimization> |
162 | 182 | <FunctionLevelLinking>true</FunctionLevelLinking> |
163 | 183 | <IntrinsicFunctions>true</IntrinsicFunctions> |
164 | | - <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
| 184 | + <PreprocessorDefinitions>WIN32;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
165 | 185 | <AssemblerListingLocation>$(IntDir)asm\</AssemblerListingLocation> |
166 | 186 | <ObjectFileName>$(IntDir)obj\</ObjectFileName> |
167 | 187 | <MultiProcessorCompilation>true</MultiProcessorCompilation> |
| 188 | + <AdditionalOptions>-Dssize_t=long %(AdditionalOptions)</AdditionalOptions> |
168 | 189 | </ClCompile> |
169 | 190 | <Link> |
170 | 191 | <SubSystem>Windows</SubSystem> |
171 | 192 | <GenerateDebugInformation>true</GenerateDebugInformation> |
172 | 193 | <EnableCOMDATFolding>true</EnableCOMDATFolding> |
173 | 194 | <OptimizeReferences>true</OptimizeReferences> |
| 195 | + <AdditionalDependencies>ws2_32.lib;libgnutls.dll.a;%(AdditionalDependencies)</AdditionalDependencies> |
174 | 196 | </Link> |
175 | 197 | </ItemDefinitionGroup> |
176 | 198 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
|
0 commit comments