<?xml version="1.0" encoding="utf-8"?>
<Project>
  <Import Project="..\..\VSProps\Base.Macros.props" />
  <Import Project="$(VSPropsDir)Base.Targets.props" />
  <PropertyGroup Label="Globals">
    <ProjectGuid>{E4BECBAB-9C6E-41AB-BB56-F9D70AB6BE03}</ProjectGuid>
  </PropertyGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  <Import Project="$(VSPropsDir)Configuration.Application.props" />
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  <ImportGroup Label="ExtensionSettings" />
  <ImportGroup Label="PropertySheets">
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    <Import Project="$(VSPropsDir)Base.props" />
    <Import Project="$(VSPropsDir)Base.Dolphin.props" />
    <Import Project="$(VSPropsDir)PCHUse.props" />
  </ImportGroup>
  <PropertyGroup Label="UserMacros" />
  <PropertyGroup>
    <TargetName>Updater</TargetName>
  </PropertyGroup>
  <ItemGroup>
    <ProjectReference Include="$(CoreDir)DolphinLib.vcxproj">
      <Project>{D79392F7-06D6-4B4B-A39F-4D587C215D3A}</Project>
    </ProjectReference>
  </ItemGroup>
  <ItemGroup>
    <ClInclude Include="..\UpdaterCommon\Platform.h" />
    <ClInclude Include="..\UpdaterCommon\UI.h" />
    <ClInclude Include="..\UpdaterCommon\UpdaterCommon.h" />
  </ItemGroup>
  <ItemGroup>
    <ClCompile Include="..\UpdaterCommon\UpdaterCommon.cpp" />
    <ClCompile Include="Main.cpp" />
    <ClCompile Include="Platform.cpp" />
    <ClCompile Include="WinUI.cpp" />
  </ItemGroup>
  <Import Project="$(ExternalsDir)cpp-optparse\exports.props" />
  <Import Project="$(ExternalsDir)curl\exports.props" />
  <Import Project="$(ExternalsDir)ed25519\exports.props" />
  <Import Project="$(ExternalsDir)fmt\exports.props" />
  <Import Project="$(ExternalsDir)mbedtls\exports.props" />
  <Import Project="$(ExternalsDir)zlib-ng\exports.props" />
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  <ImportGroup Label="ExtensionTargets">
  </ImportGroup>
  <!--Copy the .exe to binary output folder-->
  <ItemGroup>
    <SourceFiles Include="$(TargetPath)" />
  </ItemGroup>
  <ItemGroup>
    <Manifest Include="Updater.exe.manifest" />
  </ItemGroup>
  <Target Name="AfterBuild" Inputs="@(SourceFiles)" Outputs="@(SourceFiles -> '$(BinaryOutputDir)%(Filename)%(Extension)')">
    <Message Text="Copy: @(SourceFiles) -&gt; $(BinaryOutputDir)" Importance="High" />
    <Copy SourceFiles="@(SourceFiles)" DestinationFolder="$(BinaryOutputDir)" />
  </Target>
</Project>