<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <Import Project="..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.200729.8\build\native\Microsoft.Windows.CppWinRT.props" Condition="Exists('..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.200729.8\build\native\Microsoft.Windows.CppWinRT.props')" />
  <Target Name="GenerateResourceFiles" BeforeTargets="PrepareForBuild">
    <Exec Command="powershell -NonInteractive -executionpolicy Unrestricted $(SolutionDir)tools\build\convert-resx-to-rc.ps1 $(MSBuildThisFileDirectory) resource.base.h resource.h ShortcutGuide.base.rc ShortcutGuide.rc" />
  </Target>
  <PropertyGroup Label="Globals">
    <CppWinRTOptimized>true</CppWinRTOptimized>
    <CppWinRTRootNamespaceAutoMerge>true</CppWinRTRootNamespaceAutoMerge>
    <CppWinRTGenerateWindowsMetadata>true</CppWinRTGenerateWindowsMetadata>
    <MinimalCoreWin>true</MinimalCoreWin>
    <VCProjectVersion>15.0</VCProjectVersion>
    <ProjectGuid>{2edb3eb4-fa92-4bff-b2d8-566584837231}</ProjectGuid>
    <Keyword>Win32Proj</Keyword>
    <RootNamespace>ShortcutGuide</RootNamespace>
    <WindowsTargetPlatformMinVersion>10.0.17134.0</WindowsTargetPlatformMinVersion>
  </PropertyGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  <PropertyGroup Label="Configuration">
    <ConfigurationType>Application</ConfigurationType>
    <PlatformToolset>v140</PlatformToolset>
    <PlatformToolset Condition="'$(VisualStudioVersion)' == '15.0'">v141</PlatformToolset>
    <PlatformToolset Condition="'$(VisualStudioVersion)' == '16.0'">v142</PlatformToolset>
    <CharacterSet>Unicode</CharacterSet>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
    <UseDebugLibraries>true</UseDebugLibraries>
    <LinkIncremental>true</LinkIncremental>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
    <UseDebugLibraries>false</UseDebugLibraries>
    <WholeProgramOptimization>true</WholeProgramOptimization>
    <LinkIncremental>false</LinkIncremental>
  </PropertyGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  <ImportGroup Label="ExtensionSettings">
  </ImportGroup>
  <ImportGroup Label="Shared">
  </ImportGroup>
  <ImportGroup Label="PropertySheets">
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  </ImportGroup>
  <ImportGroup Label="PropertySheets">
    <Import Project="PropertySheet.props" />
  </ImportGroup>
  <PropertyGroup Label="UserMacros" />
  <PropertyGroup>
    <TargetName>PowerToys.$(MSBuildProjectName)</TargetName>
  </PropertyGroup>
  <PropertyGroup>
    <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\modules\ShortcutGuide\$(ProjectName)\</OutDir>
    <IntDir>$(SolutionDir)$(Platform)\$(Configuration)\obj\ShortcutGuide\$(ProjectName)\</IntDir>
  </PropertyGroup>
  <ItemDefinitionGroup>
    <ClCompile>
      <AdditionalIncludeDirectories>;..\..\..\common\inc;..\..\..\common\Telemetry;..\..\..\;..\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    </ClCompile>
    <Link>
      <AdditionalDependencies>ole32.lib;Shell32.lib;OleAut32.lib;Dbghelp.lib;Dwmapi.lib;Dcomp.lib;Shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
    </Link>
  </ItemDefinitionGroup>
  <ItemGroup>
    <ClInclude Include="animation.h" />
    <ClInclude Include="d2d_svg.h" />
    <ClInclude Include="d2d_text.h" />
    <ClInclude Include="d2d_window.h" />
    <ClInclude Include="Generated Files\resource.h" />
    <ClInclude Include="native_event_waiter.h" />
    <ClInclude Include="overlay_window.h" />
    <ClInclude Include="pch.h" />
    <ClInclude Include="resource.base.h" />
    <ClInclude Include="ShortcutGuideSettings.h" />
    <ClInclude Include="ShortcutGuideConstants.h" />
    <ClInclude Include="shortcut_guide.h" />
    <ClInclude Include="start_visible.h" />
    <ClInclude Include="target_state.h" />
    <ClInclude Include="tasklist_positions.h" />
    <ClInclude Include="trace.h" />
  </ItemGroup>
  <ItemGroup>
    <ClCompile Include="animation.cpp" />
    <ClCompile Include="d2d_svg.cpp" />
    <ClCompile Include="d2d_text.cpp" />
    <ClCompile Include="d2d_window.cpp" />
    <ClCompile Include="main.cpp" />
    <ClCompile Include="native_event_waiter.cpp" />
    <ClCompile Include="overlay_window.cpp" />
    <ClCompile Include="pch.cpp">
      <PrecompiledHeader Condition="'$(CIBuild)'!='true'">Create</PrecompiledHeader>
    </ClCompile>
    <ClCompile Include="shortcut_guide.cpp" />
    <ClCompile Include="start_visible.cpp" />
    <ClCompile Include="target_state.cpp" />
    <ClCompile Include="tasklist_positions.cpp" />
    <ClCompile Include="trace.cpp" />
  </ItemGroup>
  <ItemGroup>
    <None Include="packages.config" />
    <None Include="PropertySheet.props" />
    <CopyFileToFolders Include="svgs\0.svg">
      <FileType>Document</FileType>
      <DestinationFolders>$(OutDir)\svgs</DestinationFolders>
    </CopyFileToFolders>
    <CopyFileToFolders Include="svgs\1.svg">
      <FileType>Document</FileType>
      <DestinationFolders>$(OutDir)\svgs</DestinationFolders>
    </CopyFileToFolders>
    <CopyFileToFolders Include="svgs\2.svg">
      <FileType>Document</FileType>
      <DestinationFolders>$(OutDir)\svgs</DestinationFolders>
    </CopyFileToFolders>
    <CopyFileToFolders Include="svgs\3.svg">
      <FileType>Document</FileType>
      <DestinationFolders>$(OutDir)\svgs</DestinationFolders>
    </CopyFileToFolders>
    <CopyFileToFolders Include="svgs\4.svg">
      <FileType>Document</FileType>
      <DestinationFolders>$(OutDir)\svgs</DestinationFolders>
    </CopyFileToFolders>
    <CopyFileToFolders Include="svgs\5.svg">
      <FileType>Document</FileType>
      <DestinationFolders>$(OutDir)\svgs</DestinationFolders>
    </CopyFileToFolders>
    <CopyFileToFolders Include="svgs\6.svg">
      <FileType>Document</FileType>
      <DestinationFolders>$(OutDir)\svgs</DestinationFolders>
    </CopyFileToFolders>
    <CopyFileToFolders Include="svgs\7.svg">
      <FileType>Document</FileType>
      <DestinationFolders>$(OutDir)\svgs</DestinationFolders>
    </CopyFileToFolders>
    <CopyFileToFolders Include="svgs\8.svg">
      <FileType>Document</FileType>
      <DestinationFolders>$(OutDir)\svgs</DestinationFolders>
    </CopyFileToFolders>
    <CopyFileToFolders Include="svgs\9.svg">
      <FileType>Document</FileType>
      <DestinationFolders>$(OutDir)\svgs</DestinationFolders>
    </CopyFileToFolders>
    <CopyFileToFolders Include="svgs\no_active_window.svg">
      <FileType>Document</FileType>
      <DestinationFolders>$(OutDir)\svgs</DestinationFolders>
    </CopyFileToFolders>
    <CopyFileToFolders Include="svgs\overlay.svg">
      <FileType>Document</FileType>
      <DestinationFolders>$(OutDir)\svgs</DestinationFolders>
    </CopyFileToFolders>
    <CopyFileToFolders Include="svgs\overlay_portrait.svg">
      <FileType>Document</FileType>
      <DestinationFolders>$(OutDir)\svgs</DestinationFolders>
    </CopyFileToFolders>
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="..\..\..\common\Display\Display.vcxproj">
      <Project>{caba8dfb-823b-4bf2-93ac-3f31984150d9}</Project>
    </ProjectReference>
    <ProjectReference Include="..\..\..\common\logger\logger.vcxproj">
      <Project>{d9b8fc84-322a-4f9f-bbb9-20915c47ddfd}</Project>
    </ProjectReference>
    <ProjectReference Include="..\..\..\common\Themes\Themes.vcxproj">
      <Project>{98537082-0fdb-40de-abd8-0dc5a4269bab}</Project>
    </ProjectReference>
  </ItemGroup>
  <ItemGroup>
    <EmbeddedResource Include="Resources.resx" />
  </ItemGroup>
  <ItemGroup>
    <ResourceCompile Include="Generated Files\ShortcutGuide.rc" />
    <None Include="ShortcutGuide.base.rc" />
  </ItemGroup>
  <ItemGroup>
    <Image Include="Shortcut-Guide.ico" />
  </ItemGroup>
  <ItemGroup>
    <Manifest Include="ShortcutGuide.exe.manifest" />
  </ItemGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  <Import Project="..\..\..\..\deps\spdlog.props" />
  <ImportGroup Label="ExtensionTargets">
    <Import Project="..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.200729.8\build\native\Microsoft.Windows.CppWinRT.targets" Condition="Exists('..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.200729.8\build\native\Microsoft.Windows.CppWinRT.targets')" />
  </ImportGroup>
  <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
    <PropertyGroup>
      <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them.  For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
    </PropertyGroup>
    <Error Condition="!Exists('..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.200729.8\build\native\Microsoft.Windows.CppWinRT.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.200729.8\build\native\Microsoft.Windows.CppWinRT.props'))" />
    <Error Condition="!Exists('..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.200729.8\build\native\Microsoft.Windows.CppWinRT.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\..\packages\Microsoft.Windows.CppWinRT.2.0.200729.8\build\native\Microsoft.Windows.CppWinRT.targets'))" />
  </Target>
</Project>