<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <Import Project="..\..\dep\msvc\vsprops\Configurations.props" />
  <PropertyGroup Label="Globals">
    <CppWinRTOptimized>true</CppWinRTOptimized>
    <CppWinRTRootNamespaceAutoMerge>false</CppWinRTRootNamespaceAutoMerge>
    <MinimalCoreWin>true</MinimalCoreWin>
    <ProjectGuid>{e2a6cea9-9537-4c61-b637-81f1f17ef638}</ProjectGuid>
    <ProjectName>duckstation-uwp</ProjectName>
    <RootNamespace>DuckStationUWP</RootNamespace>
    <DefaultLanguage>en-US</DefaultLanguage>
    <MinimumVisualStudioVersion>15.0</MinimumVisualStudioVersion>
    <AppContainerApplication>true</AppContainerApplication>
    <ApplicationType>Windows Store</ApplicationType>
    <ApplicationTypeRevision>10.0</ApplicationTypeRevision>
    <WindowsTargetPlatformVersion Condition=" '$(WindowsTargetPlatformVersion)' == '' ">10.0.19041.0</WindowsTargetPlatformVersion>
    <WindowsTargetPlatformMinVersion>10.0.17134.0</WindowsTargetPlatformMinVersion>
    <CppWinRTGenerateWindowsMetadata>false</CppWinRTGenerateWindowsMetadata>
    <CppWinRTOptimized>true</CppWinRTOptimized>
    <CppWinRTRootNamespaceAutoMerge>false</CppWinRTRootNamespaceAutoMerge>
  </PropertyGroup>
  <PropertyGroup>
    <IntDir>$(SolutionDir)build\$(Configuration)-$(Platform)\$(ProjectName)\</IntDir>
    <OutDir>$(SolutionDir)build\$(Configuration)-$(Platform)\$(ProjectName)\</OutDir>
    <GenerateProjectSpecificOutputFolder>false</GenerateProjectSpecificOutputFolder>
    <TargetName>$(ProjectName)</TargetName>
    <GenerateAppInstallerFile>False</GenerateAppInstallerFile>
    <AppxPackageSigningEnabled>True</AppxPackageSigningEnabled>
    <PackageCertificateKeyFile>duckstation-uwp.pfx</PackageCertificateKeyFile>
    <AppxPackageSigningTimestampDigestAlgorithm>SHA256</AppxPackageSigningTimestampDigestAlgorithm>
    <AppxAutoIncrementPackageRevision>False</AppxAutoIncrementPackageRevision>
    <AppxSymbolPackageEnabled>False</AppxSymbolPackageEnabled>
    <GenerateTestArtifacts>True</GenerateTestArtifacts>
    <AppxBundle>Always</AppxBundle>
    <AppxBundlePlatforms>x64</AppxBundlePlatforms>
    <HoursBetweenUpdateChecks>0</HoursBetweenUpdateChecks>
  </PropertyGroup>
  <Import Project="..\..\dep\msvc\vsprops\Toolkit.props" />
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  <ImportGroup Label="PropertySheets">
    <Import Project="PropertySheet.props" />
  </ImportGroup>
  <ItemDefinitionGroup>
    <ClCompile>
      <WarningLevel>Level4</WarningLevel>
      <AdditionalOptions>%(AdditionalOptions) /bigobj</AdditionalOptions>
      <DisableSpecificWarnings>
      </DisableSpecificWarnings>
      <PreprocessorDefinitions>WIN32_LEAN_AND_MEAN;WINRT_LEAN_AND_MEAN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    </ClCompile>
    <Link>
      <GenerateWindowsMetadata>false</GenerateWindowsMetadata>
    </Link>
  </ItemDefinitionGroup>
  <Import Project="..\..\dep\msvc\vsprops\Base.props" />
  <ItemGroup>
    <AppxManifest Include="Package.appxmanifest">
      <SubType>Designer</SubType>
    </AppxManifest>
  </ItemGroup>
  <ItemGroup>
    <Image Include="Assets\duck_128.png" />
    <Image Include="Assets\LargeTile.scale-100.png" />
    <Image Include="Assets\LargeTile.scale-125.png" />
    <Image Include="Assets\LargeTile.scale-150.png" />
    <Image Include="Assets\LargeTile.scale-200.png" />
    <Image Include="Assets\LargeTile.scale-400.png" />
    <Image Include="Assets\LockScreenLogo.scale-200.png" />
    <Image Include="Assets\SmallTile.scale-100.png" />
    <Image Include="Assets\SmallTile.scale-125.png" />
    <Image Include="Assets\SmallTile.scale-150.png" />
    <Image Include="Assets\SmallTile.scale-200.png" />
    <Image Include="Assets\SmallTile.scale-400.png" />
    <Image Include="Assets\SplashScreen.scale-100.png" />
    <Image Include="Assets\SplashScreen.scale-125.png" />
    <Image Include="Assets\SplashScreen.scale-150.png" />
    <Image Include="Assets\SplashScreen.scale-200.png" />
    <Image Include="Assets\SplashScreen.scale-400.png" />
    <Image Include="Assets\Square150x150Logo.scale-100.png" />
    <Image Include="Assets\Square150x150Logo.scale-125.png" />
    <Image Include="Assets\Square150x150Logo.scale-150.png" />
    <Image Include="Assets\Square150x150Logo.scale-200.png" />
    <Image Include="Assets\Square150x150Logo.scale-400.png" />
    <Image Include="Assets\Square44x44Logo.altform-lightunplated_targetsize-16.png" />
    <Image Include="Assets\Square44x44Logo.altform-lightunplated_targetsize-24.png" />
    <Image Include="Assets\Square44x44Logo.altform-lightunplated_targetsize-256.png" />
    <Image Include="Assets\Square44x44Logo.altform-lightunplated_targetsize-32.png" />
    <Image Include="Assets\Square44x44Logo.altform-lightunplated_targetsize-48.png" />
    <Image Include="Assets\Square44x44Logo.altform-unplated_targetsize-16.png" />
    <Image Include="Assets\Square44x44Logo.altform-unplated_targetsize-256.png" />
    <Image Include="Assets\Square44x44Logo.altform-unplated_targetsize-32.png" />
    <Image Include="Assets\Square44x44Logo.altform-unplated_targetsize-48.png" />
    <Image Include="Assets\Square44x44Logo.scale-100.png" />
    <Image Include="Assets\Square44x44Logo.scale-125.png" />
    <Image Include="Assets\Square44x44Logo.scale-150.png" />
    <Image Include="Assets\Square44x44Logo.scale-200.png" />
    <Image Include="Assets\Square44x44Logo.scale-400.png" />
    <Image Include="Assets\Square44x44Logo.targetsize-16.png" />
    <Image Include="Assets\Square44x44Logo.targetsize-24.png" />
    <Image Include="Assets\Square44x44Logo.targetsize-24_altform-unplated.png" />
    <Image Include="Assets\Square44x44Logo.targetsize-256.png" />
    <Image Include="Assets\Square44x44Logo.targetsize-32.png" />
    <Image Include="Assets\Square44x44Logo.targetsize-48.png" />
    <Image Include="Assets\StoreLogo.scale-100.png" />
    <Image Include="Assets\StoreLogo.scale-125.png" />
    <Image Include="Assets\StoreLogo.scale-150.png" />
    <Image Include="Assets\StoreLogo.scale-200.png" />
    <Image Include="Assets\StoreLogo.scale-400.png" />
    <Image Include="Assets\Wide310x150Logo.scale-200.png" />
    <Image Include="Assets\WideTile.scale-100.png" />
    <Image Include="Assets\WideTile.scale-125.png" />
    <Image Include="Assets\WideTile.scale-150.png" />
    <Image Include="Assets\WideTile.scale-200.png" />
    <Image Include="Assets\WideTile.scale-400.png" />
    <Image Include="resources\address-book-new.png" />
    <Image Include="resources\applications-system.png" />
    <Image Include="resources\duck.png" />
    <Image Include="resources\flag-eu.png" />
    <Image Include="resources\flag-jp.png" />
    <Image Include="resources\flag-uc.png" />
    <Image Include="resources\media-cdrom.png" />
    <Image Include="resources\multimedia-player.png" />
    <Image Include="resources\star-0.png" />
    <Image Include="resources\star-1.png" />
    <Image Include="resources\star-2.png" />
    <Image Include="resources\star-3.png" />
    <Image Include="resources\star-4.png" />
    <Image Include="resources\star-5.png" />
  </ItemGroup>
  <ItemGroup>
    <ClCompile Include="uwp_host_interface.cpp" />
  </ItemGroup>
  <ItemGroup>
    <None Include="database\gamedb.json">
      <DeploymentContent>true</DeploymentContent>
    </None>
    <None Include="database\gamesettings.ini">
      <DeploymentContent>true</DeploymentContent>
    </None>
    <None Include="duckstation-uwp.pfx" />
    <None Include="inputprofiles\DualShock 4.ini">
      <DeploymentContent>true</DeploymentContent>
    </None>
    <None Include="inputprofiles\Keyboard (No Numpad).ini">
      <DeploymentContent>true</DeploymentContent>
    </None>
    <None Include="inputprofiles\Keyboard.ini">
      <DeploymentContent>true</DeploymentContent>
    </None>
    <None Include="inputprofiles\PlayStation Classic Controller.ini">
      <DeploymentContent>true</DeploymentContent>
    </None>
    <None Include="inputprofiles\Xbox Controller.ini">
      <DeploymentContent>true</DeploymentContent>
    </None>
    <None Include="packages.config" />
    <None Include="PropertySheet.props" />
    <None Include="shaders\Cccalibrator.glsl">
      <DeploymentContent>true</DeploymentContent>
    </None>
    <None Include="shaders\dolphinfx\bloom.glsl">
      <DeploymentContent>true</DeploymentContent>
    </None>
    <None Include="shaders\dolphinfx\celshading.glsl">
      <DeploymentContent>true</DeploymentContent>
    </None>
    <None Include="shaders\dolphinfx\scanlines.glsl">
      <DeploymentContent>true</DeploymentContent>
    </None>
    <None Include="shaders\simple-brightness.glsl">
      <DeploymentContent>true</DeploymentContent>
    </None>
    <None Include="shaders\simple-gamma.glsl">
      <DeploymentContent>true</DeploymentContent>
    </None>
    <None Include="shaders\simple-sharpen.glsl">
      <DeploymentContent>true</DeploymentContent>
    </None>
  </ItemGroup>
  <ItemGroup>
    <ClInclude Include="uwp_host_interface.h" />
    <ClInclude Include="uwp_key_map.h" />
  </ItemGroup>
  <ItemGroup>
    <Font Include="resources\fa-solid-900.ttf" />
    <Font Include="resources\roboto-regular.ttf" />
  </ItemGroup>
  <ItemGroup>
    <Text Include="database\chtdb.txt" />
    <Text Include="database\gamecontrollerdb.txt" />
  </ItemGroup>
  <ItemGroup>
    <Xml Include="database\compatibility.xml" />
  </ItemGroup>
  <ItemGroup>
    <CommonDataFiles Include="$(SolutionDir)data\**\*.*">
      <InProject>false</InProject>
    </CommonDataFiles>
  </ItemGroup>
  <Target Name="CopyCommonDataFiles" BeforeTargets="PrepareForBuild" Inputs="@(CommonDataFiles)" Outputs="@(CommonDataFiles -> '$(ProjectDir)%(RecursiveDir)%(Filename)%(Extension)')">
    <Message Text="Copying common data files" Importance="High" />
    <Copy SourceFiles="@(CommonDataFiles)" DestinationFolder="$(ProjectDir)\%(RecursiveDir)" SkipUnchangedFiles="true" />
  </Target>
  <Import Project="..\frontend-common\frontend-common.props" />
  <ItemDefinitionGroup>
    <Link>
      <AdditionalDependencies>$(RootBuildDir)frontend-common\frontend-common.lib;%(AdditionalDependencies)</AdditionalDependencies>
    </Link>
  </ItemDefinitionGroup>
  <Import Project="..\..\dep\msvc\vsprops\Targets.props" />
</Project>