2018-08-09 21:22:13 +03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2017-07-12 04:24:42 +03:00
|
|
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
2017-07-19 05:01:20 +03:00
|
|
|
|
2017-09-07 00:24:46 +03:00
|
|
|
<PropertyGroup Condition="'$(ApplicationType)'=='Windows Store'">
|
|
|
|
<HCLibPlatformType>UWP</HCLibPlatformType>
|
2017-09-15 21:57:57 +03:00
|
|
|
<libHttpClientDefine>HC_UWP_API</libHttpClientDefine>
|
2017-09-07 00:24:46 +03:00
|
|
|
</PropertyGroup>
|
2018-01-06 02:18:17 +03:00
|
|
|
<PropertyGroup Condition="'$(ApplicationType)'=='' AND '$(Platform)'!='Durango'">
|
2018-08-09 21:22:13 +03:00
|
|
|
<HCLibPlatformType>Win32</HCLibPlatformType>
|
2017-09-15 21:57:57 +03:00
|
|
|
<libHttpClientDefine>HC_WIN32_API</libHttpClientDefine>
|
2018-08-09 21:22:13 +03:00
|
|
|
<useWsppWebsockets>true</useWsppWebsockets>
|
2017-09-07 00:24:46 +03:00
|
|
|
</PropertyGroup>
|
2018-01-06 02:18:17 +03:00
|
|
|
<PropertyGroup Condition="'$(ApplicationType)'=='' AND '$(Platform)'=='Durango'">
|
2018-08-09 21:22:13 +03:00
|
|
|
<HCLibPlatformType>XDK</HCLibPlatformType>
|
2018-01-06 02:18:17 +03:00
|
|
|
<libHttpClientDefine>HC_XDK_API</libHttpClientDefine>
|
|
|
|
</PropertyGroup>
|
2018-08-09 21:22:13 +03:00
|
|
|
<PropertyGroup Condition="'$(ApplicationType)'=='Android'">
|
|
|
|
<HCLibPlatformType>Android</HCLibPlatformType>
|
|
|
|
</PropertyGroup>
|
2018-07-30 21:32:18 +03:00
|
|
|
|
2017-07-19 05:01:20 +03:00
|
|
|
<PropertyGroup Condition="'$(PlatformToolset)'=='v141'">
|
|
|
|
<HCLibToolset>141</HCLibToolset>
|
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(PlatformToolset)'=='v140'">
|
|
|
|
<HCLibToolset>140</HCLibToolset>
|
|
|
|
</PropertyGroup>
|
2018-08-09 21:22:13 +03:00
|
|
|
<PropertyGroup Condition="$(PlatformToolset.Contains('Clang'))">
|
|
|
|
<HCLibToolset>140</HCLibToolset>
|
|
|
|
</PropertyGroup>
|
2018-07-30 21:32:18 +03:00
|
|
|
|
2018-08-09 21:22:13 +03:00
|
|
|
<PropertyGroup>
|
2017-07-12 04:24:42 +03:00
|
|
|
<libHttpClientRoot>$(MSBuildThisFileDirectory)</libHttpClientRoot>
|
2018-08-09 21:22:13 +03:00
|
|
|
<libHttpClientOutDir>$(libHttpClientRoot)</libHttpClientOutDir>
|
2018-08-10 20:25:56 +03:00
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<!--Import hc_settings file after defining props so that they can be overriden-->
|
|
|
|
<PropertyGroup>
|
|
|
|
<HCSettingsFile>$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), hc_settings.props))\hc_settings.props</HCSettingsFile>
|
|
|
|
</PropertyGroup>
|
|
|
|
<Import Project="$(HCSettingsFile)" Condition="Exists($(HCSettingsFile))" />
|
|
|
|
|
|
|
|
<PropertyGroup>
|
|
|
|
<libHttpClientInclude>$(libHttpClientRoot)include\</libHttpClientInclude>
|
2018-08-09 21:22:13 +03:00
|
|
|
<libHttpClientPath>$(libHttpClientOutDir)Binaries\$(Configuration)\$(Platform)\libHttpClient.$(HCLibToolset).$(HCLibPlatformType).C\</libHttpClientPath>
|
|
|
|
<libHttpClientPathBuildMachine>$(XES_OUTDIR)\libHttpClient.$(HCLibToolset).$(HCLibPlatformType).C\</libHttpClientPathBuildMachine>
|
2018-05-11 01:46:45 +03:00
|
|
|
<libHttpClientLibName>libHttpClient.$(HCLibToolset).$(HCLibPlatformType).C.lib</libHttpClientLibName>
|
2017-07-12 04:24:42 +03:00
|
|
|
</PropertyGroup>
|
2018-08-10 20:25:56 +03:00
|
|
|
|
2018-08-09 21:22:13 +03:00
|
|
|
<Import Project="$(libHttpClientRoot)Build\openssl.props" Condition="'$(useWsppWebsockets)' == 'true'"/>
|
|
|
|
<ItemDefinitionGroup Label="ImportLibHttpClient" Condition="!('$(SkipLibHttpClientImport)' == 'true')">
|
2017-07-12 04:24:42 +03:00
|
|
|
<ClCompile>
|
2018-08-10 20:25:56 +03:00
|
|
|
<PreprocessorDefinitions>$(libHttpClientDefine);HC_API_EXPORT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
2017-07-12 04:24:42 +03:00
|
|
|
<AdditionalIncludeDirectories>$(libHttpClientInclude);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
|
|
</ClCompile>
|
|
|
|
<Link>
|
2018-08-10 20:25:56 +03:00
|
|
|
<AdditionalLibraryDirectories>$(libHttpClientPath);$(libHttpClientPathBuildMachine);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
|
|
<AdditionalDependencies>$(libHttpClientLibName);%(AdditionalDependencies)</AdditionalDependencies>
|
|
|
|
<AdditionalDependencies Condition="'$(HCLibPlatformType)' == 'Win32'">winhttp.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
2017-07-12 04:24:42 +03:00
|
|
|
</Link>
|
|
|
|
</ItemDefinitionGroup>
|
2018-07-25 20:23:47 +03:00
|
|
|
|
2018-07-30 21:32:18 +03:00
|
|
|
</Project>
|