libHttpClient/libHttpClient.props

63 строки
3.2 KiB
Plaintext
Исходник Обычный вид История

<?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>
<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'">
<HCLibPlatformType>Win32</HCLibPlatformType>
<libHttpClientDefine>HC_WIN32_API</libHttpClientDefine>
<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'">
<HCLibPlatformType>XDK</HCLibPlatformType>
2018-01-06 02:18:17 +03:00
<libHttpClientDefine>HC_XDK_API</libHttpClientDefine>
</PropertyGroup>
<PropertyGroup Condition="'$(ApplicationType)'=='Android'">
<HCLibPlatformType>Android</HCLibPlatformType>
</PropertyGroup>
2017-07-19 05:01:20 +03:00
<PropertyGroup Condition="'$(PlatformToolset)'=='v141'">
<HCLibToolset>141</HCLibToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(PlatformToolset)'=='v140'">
<HCLibToolset>140</HCLibToolset>
</PropertyGroup>
<PropertyGroup Condition="$(PlatformToolset.Contains('Clang'))">
<HCLibToolset>140</HCLibToolset>
</PropertyGroup>
<PropertyGroup>
2017-07-12 04:24:42 +03:00
<libHttpClientRoot>$(MSBuildThisFileDirectory)</libHttpClientRoot>
<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>
<libHttpClientPath>$(libHttpClientOutDir)Binaries\$(Configuration)\$(Platform)\libHttpClient.$(HCLibToolset).$(HCLibPlatformType).C\</libHttpClientPath>
<libHttpClientPathBuildMachine>$(XES_OUTDIR)\libHttpClient.$(HCLibToolset).$(HCLibPlatformType).C\</libHttpClientPathBuildMachine>
<libHttpClientLibName>libHttpClient.$(HCLibToolset).$(HCLibPlatformType).C.lib</libHttpClientLibName>
2017-07-12 04:24:42 +03:00
</PropertyGroup>
2018-08-10 20:25:56 +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
</Project>