Ryujinx.Headless.SDL2.csproj 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <TargetFramework>net7.0</TargetFramework>
  4. <RuntimeIdentifiers>win10-x64;osx-x64;linux-x64</RuntimeIdentifiers>
  5. <OutputType>Exe</OutputType>
  6. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  7. <Version>1.0.0-dirty</Version>
  8. <DefineConstants Condition=" '$(ExtraDefineConstants)' != '' ">$(DefineConstants);$(ExtraDefineConstants)</DefineConstants>
  9. <TieredPGO>true</TieredPGO>
  10. </PropertyGroup>
  11. <ItemGroup>
  12. <PackageReference Include="OpenTK.Core" Version="4.7.2" />
  13. <PackageReference Include="Ryujinx.Graphics.Nvdec.Dependencies" Version="5.0.1-build10" Condition="'$(RuntimeIdentifier)' != 'linux-x64' AND '$(RuntimeIdentifier)' != 'osx-x64'" />
  14. </ItemGroup>
  15. <ItemGroup>
  16. <ProjectReference Include="..\Ryujinx.Graphics.Vulkan\Ryujinx.Graphics.Vulkan.csproj" />
  17. <ProjectReference Include="..\Ryujinx.Input\Ryujinx.Input.csproj" />
  18. <ProjectReference Include="..\Ryujinx.Input.SDL2\Ryujinx.Input.SDL2.csproj" />
  19. <ProjectReference Include="..\Ryujinx.Audio.Backends.SDL2\Ryujinx.Audio.Backends.SDL2.csproj" />
  20. <ProjectReference Include="..\Ryujinx.Common\Ryujinx.Common.csproj" />
  21. <ProjectReference Include="..\Ryujinx.HLE\Ryujinx.HLE.csproj" />
  22. <ProjectReference Include="..\ARMeilleure\ARMeilleure.csproj" />
  23. <ProjectReference Include="..\Ryujinx.Graphics.OpenGL\Ryujinx.Graphics.OpenGL.csproj" />
  24. <ProjectReference Include="..\Ryujinx.Graphics.Gpu\Ryujinx.Graphics.Gpu.csproj" />
  25. </ItemGroup>
  26. <ItemGroup>
  27. <PackageReference Include="CommandLineParser" Version="2.8.0" />
  28. </ItemGroup>
  29. <ItemGroup>
  30. <ContentWithTargetPath Include="..\distribution\legal\THIRDPARTY.md">
  31. <CopyToOutputDirectory>Always</CopyToOutputDirectory>
  32. <TargetPath>THIRDPARTY.md</TargetPath>
  33. </ContentWithTargetPath>
  34. </ItemGroup>
  35. <!-- Due to .net core 3.1 embedded resource loading -->
  36. <PropertyGroup>
  37. <EmbeddedResourceUseDependentUponConvention>false</EmbeddedResourceUseDependentUponConvention>
  38. <ApplicationIcon>..\Ryujinx\Ryujinx.ico</ApplicationIcon>
  39. </PropertyGroup>
  40. <PropertyGroup Condition="'$(RuntimeIdentifier)' != ''">
  41. <PublishSingleFile>true</PublishSingleFile>
  42. <PublishTrimmed>true</PublishTrimmed>
  43. <TrimMode>partial</TrimMode>
  44. </PropertyGroup>
  45. </Project>