<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <ItemGroup Label="ProjectConfigurations">
    <ProjectConfiguration Include="Debug|ARM64">
      <Configuration>Debug</Configuration>
      <Platform>ARM64</Platform>
    </ProjectConfiguration>
    <ProjectConfiguration Include="Debug|x64">
      <Configuration>Debug</Configuration>
      <Platform>x64</Platform>
    </ProjectConfiguration>
    <ProjectConfiguration Include="Release|ARM64">
      <Configuration>Release</Configuration>
      <Platform>ARM64</Platform>
    </ProjectConfiguration>
    <ProjectConfiguration Include="Release|x64">
      <Configuration>Release</Configuration>
      <Platform>x64</Platform>
    </ProjectConfiguration>
  </ItemGroup>
  <PropertyGroup Label="Globals">
    <ProjectGuid>{974E563D-23F8-4E8F-9083-F62876B04E08}</ProjectGuid>
    <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
  </PropertyGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  <PropertyGroup Label="Configuration">
    <ConfigurationType>Application</ConfigurationType>
    <PlatformToolset>v142</PlatformToolset>
    <CharacterSet>Unicode</CharacterSet>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
    <UseDebugLibraries>true</UseDebugLibraries>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
    <UseDebugLibraries>false</UseDebugLibraries>
  </PropertyGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  <ImportGroup Label="ExtensionSettings">
  </ImportGroup>
  <ImportGroup Label="PropertySheets">
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    <Import Project="..\..\VSProps\Base.props" />
    <Import Project="..\..\VSProps\PCHUse.props" />
  </ImportGroup>
  <PropertyGroup Label="UserMacros" />
  <PropertyGroup />
  <ItemDefinitionGroup>
    <Link>
      <AdditionalDependencies>avrt.lib;iphlpapi.lib;winmm.lib;setupapi.lib;rpcrt4.lib;comctl32.lib;Shlwapi.lib;discord-rpc.lib;%(AdditionalDependencies)</AdditionalDependencies>
      <AdditionalLibraryDirectories>$(IntDir)..\discord-rpc\bin;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
      <AdditionalDependencies Condition="'$(Platform)'=='x64'">opengl32.lib;avcodec.lib;avformat.lib;avutil.lib;swresample.lib;swscale.lib;%(AdditionalDependencies)</AdditionalDependencies>
      <AdditionalLibraryDirectories Condition="'$(Platform)'=='x64'">$(ExternalsDir)ffmpeg\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
      <SubSystem>Console</SubSystem>
    </Link>
  </ItemDefinitionGroup>
  <ItemGroup>
    <ProjectReference Include="..\..\..\Externals\cpp-optparse\cpp-optparse.vcxproj">
      <Project>{c636d9d1-82fe-42b5-9987-63b7d4836341}</Project>
    </ProjectReference>
    <ProjectReference Include="..\Core\Core.vcxproj">
      <Project>{e54cf649-140e-4255-81a5-30a673c1fb36}</Project>
    </ProjectReference>
    <ProjectReference Include="..\UICommon\UICommon.vcxproj">
      <Project>{604c8368-f34a-4d55-82c8-cc92a0c13254}</Project>
    </ProjectReference>
    <ProjectReference Include="..\VideoBackends\D3D\D3D.vcxproj">
      <Project>{96020103-4ba5-4fd2-b4aa-5b6d24492d4e}</Project>
    </ProjectReference>
    <ProjectReference Include="..\VideoBackends\Null\Null.vcxproj">
      <Project>{53a5391b-737e-49a8-bc8f-312ada00736f}</Project>
    </ProjectReference>
    <ProjectReference Include="..\VideoBackends\OGL\OGL.vcxproj" Condition="'$(Platform)'!='ARM64'">
      <Project>{ec1a314c-5588-4506-9c1e-2e58e5817f75}</Project>
    </ProjectReference>
    <ProjectReference Include="..\VideoBackends\Software\Software.vcxproj" Condition="'$(Platform)'!='ARM64'">
      <Project>{a4c423aa-f57c-46c7-a172-d1a777017d29}</Project>
    </ProjectReference>
    <ProjectReference Include="..\VideoBackends\Vulkan\Vulkan.vcxproj">
      <Project>{29f29a19-f141-45ad-9679-5a2923b49da3}</Project>
    </ProjectReference>
    <ProjectReference Include="..\VideoCommon\VideoCommon.vcxproj">
      <Project>{3de9ee35-3e91-4f27-a014-2866ad8c3fe3}</Project>
    </ProjectReference>
    <ProjectReference Include="..\VideoBackends\D3D12\D3D12.vcxproj">
      <Project>{570215b7-e32f-4438-95ae-c8d955f9fca3}</Project>
    </ProjectReference>
  </ItemGroup>
  <ItemGroup>
    <ClCompile Include="MainNoGUI.cpp" />
    <ClCompile Include="Platform.cpp" />
    <ClCompile Include="PlatformHeadless.cpp" />
    <ClCompile Include="PlatformWin32.cpp" />
  </ItemGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  <ImportGroup Label="ExtensionTargets">
  </ImportGroup>
  <!--Copy the .exe to binary output folder-->
  <ItemGroup>
    <SourceFiles Include="$(TargetPath)" />
  </ItemGroup>
  <ItemGroup>
    <ClInclude Include="Platform.h" />
  </ItemGroup>
  <ItemGroup>
    <Manifest Include="DolphinNoGUI.exe.manifest" />
  </ItemGroup>
  <ItemGroup>
    <Text Include="CMakeLists.txt" />
  </ItemGroup>
  <ItemGroup>
    <ResourceCompile Include="DolphinNoGUI.rc" />
  </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>