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
2023-07-20 21:44:11 +03:00
<Import Condition="'$(LibHttpClientImported)' == 'true'" Project="Error attempting to import LibHttpClient twice. Condition all imports on ('ProjectName'Imported) != true." />
<PropertyGroup>
<LibHttpClientImported>true</LibHttpClientImported>
</PropertyGroup>
2021-05-01 04:11:26 +03:00
<Import Condition="'$(HCPlatform)' == ''" Project="$(MSBuildThisFileDirectory)platform_select.props" />
2018-10-02 23:13:28 +03:00
<PropertyGroup>
<HCLibPlatformType>$(HCPlatform)</HCLibPlatformType>
</PropertyGroup>
2018-08-17 00:09:34 +03:00
<!-- Valid values for HCLibPlatformType:
UWP
Win32
XDK
2020-04-10 07:12:39 +03:00
GDK
2018-08-17 00:09:34 +03:00
-->
2018-07-30 21:32:18 +03:00
2018-09-07 00:07:26 +03:00
<PropertyGroup Condition="'$(HCLibPlatformType)' == ''">
<HCLibPlatformType Condition="'$(ApplicationType)'=='Windows Store'">UWP</HCLibPlatformType>
<HCLibPlatformType Condition="'$(ApplicationType)'=='' AND '$(Platform)'=='Durango'">XDK</HCLibPlatformType>
2020-04-10 07:12:39 +03:00
<HCLibPlatformType Condition="'$(ApplicationType)'=='' AND ('$(Platform)'=='Gaming.Desktop.x64' OR '$(Platform)'=='Gaming.Xbox.XboxOne.x64' OR '$(Platform)'=='Gaming.Xbox.Scarlett.x64')">GDK</HCLibPlatformType>
2020-02-15 03:59:24 +03:00
<HCLibPlatformType Condition="'$(ApplicationType)'=='' AND '$(Platform)'!='Durango' AND '$(Platform)'!='Gaming.Desktop.x64' AND '$(Platform)'!='Gaming.Xbox.XboxOne.x64' AND '$(Platform)'!='Gaming.Xbox.Scarlett.x64'">Win32</HCLibPlatformType>
2018-10-02 23:13:28 +03:00
</PropertyGroup>
2020-02-15 03:59:24 +03:00
<PropertyGroup>
<!-- Back compat reasons -->
2020-04-10 07:12:39 +03:00
<HCLibPlatformType Condition="'$(HCLibPlatformType)'=='GSDK' OR '$(HCLibPlatformType)'=='GXDK'">GDK</HCLibPlatformType>
2020-02-15 03:59:24 +03:00
</PropertyGroup>
2018-08-17 00:09:34 +03:00
<PropertyGroup>
<useWsppWebsockets>false</useWsppWebsockets>
2023-07-20 21:44:11 +03:00
<HCLibToolset>$(PlatformToolsetVersion)</HCLibToolset>
2018-08-17 00:09:34 +03:00
<HCLibToolset Condition="'$(PlatformToolset)'=='v141'">141</HCLibToolset>
2019-05-31 21:31:49 +03:00
<HCLibToolset Condition="'$(PlatformToolset)'=='v142'">142</HCLibToolset>
2021-12-04 02:04:19 +03:00
<HCLibToolset Condition="'$(PlatformToolset)'=='v143'">143</HCLibToolset>
2018-08-10 20:25:56 +03:00
2018-08-17 00:09:34 +03:00
<HCProjectName>libHttpClient.$(HCLibToolset).$(HCLibPlatformType).C</HCProjectName>
2018-08-15 20:25:54 +03:00
</PropertyGroup>
2018-08-17 00:09:34 +03:00
2018-08-15 20:25:54 +03:00
<PropertyGroup>
2023-07-20 21:44:11 +03:00
<HCRoot Condition="'$(HCRoot)'==''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), build.root))\</HCRoot>
2023-08-04 00:13:10 +03:00
<HCBuildRoot>$(HCRoot)\Build</HCBuildRoot>
2023-07-20 21:44:11 +03:00
<libHttpClientInclude>$(HCRoot)\Include\</libHttpClientInclude>
2018-08-15 20:25:54 +03:00
</PropertyGroup>
2018-08-17 00:09:34 +03:00
<!--Import hc_settings file after defining props so that they can be overriden-->
<PropertyGroup>
2023-07-20 21:44:11 +03:00
<HCSettingsFile>$([MSBuild]::GetDirectoryNameOfFileAbove($(HCRoot), hc_settings.props))\hc_settings.props</HCSettingsFile>
2017-07-12 04:24:42 +03:00
</PropertyGroup>
2018-08-21 02:15:43 +03:00
<Import Project="$(HCSettingsFile)" Condition="Exists($(HCSettingsFile)) AND '$(HCSettingsImported)' != 'true'" />
<PropertyGroup>
<HCSettingsImported>true</HCSettingsImported>
</PropertyGroup>
2018-08-17 00:09:34 +03:00
<ItemGroup>
2023-07-20 21:44:11 +03:00
<ProjectReference Include="$(HCRoot)\Build\$(HCProjectName)\$(HCProjectName).vcxproj" Condition="'$(ConfigurationType)'!='StaticLibrary' And ('$(HCLibPlatformType)' == 'Win32' Or '$(HCLibPlatformType)' == 'GDK' Or '$(HCLibPlatformType)' == 'UWP')">
<Project Condition="'$(HCLibPlatformType)' == 'Win32' and '$(HCLibToolset)' == '141'">{BEDE280F-17F7-4A09-9F5D-2E02FBB1C490}</Project>
<Project Condition="'$(HCLibPlatformType)' == 'Win32' and '$(HCLibToolset)' == '142'">{961F48EA-33A9-47F1-9C96-715D6094D79B}</Project>
<Project Condition="'$(HCLibPlatformType)' == 'Win32' and '$(HCLibToolset)' == '143'">{9164C6C9-3872-4922-A3E3-3822622D3E71}</Project>
<Project Condition="'$(HCLibPlatformType)' == 'UWP' and '$(HCLibToolset)' == '141'">{5B498CF9-1803-438F-98FC-25F42759F440}</Project>
<Project Condition="'$(HCLibPlatformType)' == 'UWP' and '$(HCLibToolset)' == '142'">{53C69CF3-B0B8-4A64-B178-0E9370737F70}</Project>
<Project Condition="'$(HCLibPlatformType)' == 'UWP' and '$(HCLibToolset)' == '143'">{2E55AA9F-A132-477C-B4FF-B4CD551E4322}</Project>
<Project Condition="'$(HCLibPlatformType)' == 'GDK' and '$(HCLibToolset)' == '141'">{78C0122C-6B2D-4054-8C49-448277DD7A7D}</Project>
<Project Condition="'$(HCLibPlatformType)' == 'GDK' and '$(HCLibToolset)' == '142'">{66365E18-7B53-44BF-A348-6735058E359E}</Project>
<Project Condition="'$(HCLibPlatformType)' == 'GDK' and '$(HCLibToolset)' == '143'">{0A6D51A3-0D86-4D0E-9DAA-54BA75E1DA1C}</Project>
2018-08-17 00:09:34 +03:00
</ProjectReference>
</ItemGroup>
2023-10-04 00:21:37 +03:00
<ItemDefinitionGroup Condition="'$(HCNoWebSockets)'=='true'">
<ClCompile>
<PreprocessorDefinitions>
HC_NOWEBSOCKETS;
HC_WINHTTP_WEBSOCKETS=0;
%(PreprocessorDefinitions)
</PreprocessorDefinitions>
</ClCompile>
</ItemDefinitionGroup>
2018-08-17 00:09:34 +03:00
<ItemDefinitionGroup>
2017-07-12 04:24:42 +03:00
<ClCompile>
2018-08-17 00:09:34 +03:00
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(libHttpClientInclude)</AdditionalIncludeDirectories>
2017-07-12 04:24:42 +03:00
</ClCompile>
<Link>
2021-12-09 23:22:45 +03:00
<AdditionalDependencies Condition="'$(HCLibPlatformType)'=='Win32' OR '$(HCLibPlatformType)'=='GDK'">%(AdditionalDependencies);Appnotify.lib;winhttp.lib;crypt32.lib</AdditionalDependencies>
2017-07-12 04:24:42 +03:00
</Link>
</ItemDefinitionGroup>
2018-08-17 00:09:34 +03:00
2023-07-20 21:44:11 +03:00
<Import Condition="'$(OpenSslImported)' != 'true' and '$(useWsppWebsockets)' == 'true'" Project="$(HCBuildRoot)\openssl.import.props" />
2018-08-17 00:09:34 +03:00
2021-08-26 23:24:33 +03:00
<!--Bring in XCurl on GDK-->
2021-09-30 00:27:24 +03:00
<ImportGroup Condition="'$(HCLibPlatformType)' == 'GDK' AND '$(GameDK)' != ''">
<Import Project="$(GameDK)\$(XdkEditionTarget)\GRDK\ExtensionLibraries\Xbox.XCurl.API\DesignTime\CommonConfiguration\neutral\ExtensionLibrary.props"/>
2021-08-26 23:24:33 +03:00
</ImportGroup>
2021-09-23 23:40:26 +03:00
<ItemDefinitionGroup>
<Link>
<AdditionalLibraryDirectories>%(AdditionalLibraryDirectories);$(Console_SdkLibPath)</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
2021-08-26 23:24:33 +03:00
2018-08-17 00:09:34 +03:00
<Target Name="HCBuildDebug">
<PropertyGroup>
<!-- Useful constants -->
<Dir>$([System.IO.Path]::DirectorySeparatorChar)</Dir>
<N>%0D%0A</N>
<T>%09</T>
</PropertyGroup>
<Message Importance="High" Text="HCBuildDebug" />
<Message Importance="High" Text=" ProjectName = '$(ProjectName)'" />
<Message Importance="High" Text=" Configuration = '$(Configuration)'" />
<Message Importance="High" Text=" Platform = '$(Platform)'" />
<Message Importance="High" Text=" ConfigurationType = '$(ConfigurationType)'" />
<Message Importance="High" Text=" HCLibPlatformType = '$(HCLibPlatformType)'" />
<Message Importance="High" Text=" " />
<Message Importance="High" Text=" XES_INTERMEDIATESDIRECTORY = '$(XES_INTERMEDIATESDIRECTORY)'" />
<Message Importance="High" Text=" XES_OUTDIR = '$(XES_OUTDIR)'" />
<Message Importance="High" Text=" " />
2023-07-20 21:44:11 +03:00
<Message Importance="High" Text=" HCRoot = '$(HCRoot)'" />
2018-08-17 00:09:34 +03:00
<Message Importance="High" Text=" HCLibToolset = '$(HCLibToolset)'" />
<Message Importance="High" Text=" HCProjectName = '$(HCProjectName)'" />
<Message Importance="High" Text=" libHttpClientInclude = '$(libHttpClientInclude)'" />
<Message Importance="High" Text=" useWsppWebsockets = '$(useWsppWebsockets)'" />
<Message Importance="High" Text=" " />
<Message Importance="High" Text=" IntDir = '$(IntDir)'" />
<Message Importance="High" Text=" OutDir = '$(OutDir)'" />
2023-07-20 21:44:11 +03:00
<Message Importance="High" Text=" LibPath = '$(LibPath)'" />
<Message Importance="High" Text=" IntermediateOutputPath = '$(IntermediateOutputPath)'" />
<Message Importance="High" Text=" OutputPath = '$(OutputPath)'" />
2018-08-17 00:09:34 +03:00
<Message Importance="High" Text=" " />
<Message Importance="High" Text=" ClCompile$(N) Identity = '%(ClCompile.Identity)'$(N) AdditionalIncludeDirectories = '%(ClCompile.AdditionalIncludeDirectories)'$(N)" />
<Message Importance="High" Text=" Link$(N) Identity = '%(Link.Identity)'$(N) AdditionalDependencies = '%(Link.AdditionalDependencies)'$(N)" />
</Target>
2018-07-30 21:32:18 +03:00
</Project>