Ryujinx.csproj 4.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. <!-- As we already provide GTK3 on Windows via GtkSharp.Dependencies this is redundant. -->
  10. <SkipGtkInstall>true</SkipGtkInstall>
  11. <TieredPGO>true</TieredPGO>
  12. </PropertyGroup>
  13. <PropertyGroup Condition="'$(RuntimeIdentifier)' != ''">
  14. <PublishSingleFile>true</PublishSingleFile>
  15. <PublishTrimmed>true</PublishTrimmed>
  16. <TrimMode>partial</TrimMode>
  17. </PropertyGroup>
  18. <ItemGroup>
  19. <PackageReference Include="GtkSharp" Version="3.22.25.128" />
  20. <PackageReference Include="GtkSharp.Dependencies" Version="1.1.1" Condition="'$(RuntimeIdentifier)' != 'linux-x64' AND '$(RuntimeIdentifier)' != 'osx-x64'" />
  21. <PackageReference Include="Ryujinx.Graphics.Nvdec.Dependencies" Version="5.0.1-build10" Condition="'$(RuntimeIdentifier)' != 'linux-x64' AND '$(RuntimeIdentifier)' != 'osx-x64'" />
  22. <PackageReference Include="Ryujinx.Audio.OpenAL.Dependencies" Version="1.21.0.1" Condition="'$(RuntimeIdentifier)' != 'linux-x64' AND '$(RuntimeIdentifier)' != 'osx-x64'" />
  23. <PackageReference Include="OpenTK.Core" Version="4.7.5" />
  24. <PackageReference Include="OpenTK.Graphics" Version="4.7.5" />
  25. <PackageReference Include="SPB" Version="0.0.4-build28" />
  26. <PackageReference Include="SharpZipLib" Version="1.4.1" />
  27. <PackageReference Include="SixLabors.ImageSharp" Version="1.0.4" />
  28. </ItemGroup>
  29. <ItemGroup>
  30. <ProjectReference Include="..\Ryujinx.Input\Ryujinx.Input.csproj" />
  31. <ProjectReference Include="..\Ryujinx.Input.SDL2\Ryujinx.Input.SDL2.csproj" />
  32. <ProjectReference Include="..\Ryujinx.Audio.Backends.OpenAL\Ryujinx.Audio.Backends.OpenAL.csproj" />
  33. <ProjectReference Include="..\Ryujinx.Audio.Backends.SDL2\Ryujinx.Audio.Backends.SDL2.csproj" />
  34. <ProjectReference Include="..\Ryujinx.Audio.Backends.SoundIo\Ryujinx.Audio.Backends.SoundIo.csproj" />
  35. <ProjectReference Include="..\Ryujinx.Common\Ryujinx.Common.csproj" />
  36. <ProjectReference Include="..\Ryujinx.HLE\Ryujinx.HLE.csproj" />
  37. <ProjectReference Include="..\ARMeilleure\ARMeilleure.csproj" />
  38. <ProjectReference Include="..\Ryujinx.Graphics.OpenGL\Ryujinx.Graphics.OpenGL.csproj" />
  39. <ProjectReference Include="..\Ryujinx.Graphics.Vulkan\Ryujinx.Graphics.Vulkan.csproj" />
  40. <ProjectReference Include="..\Ryujinx.Graphics.Gpu\Ryujinx.Graphics.Gpu.csproj" />
  41. <ProjectReference Include="..\Ryujinx.Ui.Common\Ryujinx.Ui.Common.csproj" />
  42. </ItemGroup>
  43. <ItemGroup>
  44. <ContentWithTargetPath Include="..\distribution\windows\alsoft.ini" Condition="'$(RuntimeIdentifier)' != 'linux-x64' AND '$(RuntimeIdentifier)' != 'osx-x64'">
  45. <CopyToOutputDirectory>Always</CopyToOutputDirectory>
  46. <TargetPath>alsoft.ini</TargetPath>
  47. </ContentWithTargetPath>
  48. <ContentWithTargetPath Include="..\distribution\legal\THIRDPARTY.md">
  49. <CopyToOutputDirectory>Always</CopyToOutputDirectory>
  50. <TargetPath>THIRDPARTY.md</TargetPath>
  51. </ContentWithTargetPath>
  52. </ItemGroup>
  53. <!-- Due to .net core 3.1 embedded resource loading -->
  54. <PropertyGroup>
  55. <EmbeddedResourceUseDependentUponConvention>false</EmbeddedResourceUseDependentUponConvention>
  56. <ApplicationIcon>Ryujinx.ico</ApplicationIcon>
  57. </PropertyGroup>
  58. <PropertyGroup Condition="'$(RuntimeIdentifier)' == 'osx-x64'">
  59. <DefineConstants>$(DefineConstants);MACOS_BUILD</DefineConstants>
  60. </PropertyGroup>
  61. <ItemGroup>
  62. <None Remove="Ui\MainWindow.glade" />
  63. <None Remove="Ui\Widgets\ProfileDialog.glade" />
  64. <None Remove="Ui\Windows\CheatWindow.glade" />
  65. <None Remove="Ui\Windows\ControllerWindow.glade" />
  66. <None Remove="Ui\Windows\DlcWindow.glade" />
  67. <None Remove="Ui\Windows\SettingsWindow.glade" />
  68. <None Remove="Ui\Windows\TitleUpdateWindow.glade" />
  69. <None Remove="Modules\Updater\UpdateDialog.glade" />
  70. </ItemGroup>
  71. <ItemGroup>
  72. <EmbeddedResource Include="Ui\MainWindow.glade" />
  73. <EmbeddedResource Include="Ui\Widgets\ProfileDialog.glade" />
  74. <EmbeddedResource Include="Ui\Windows\CheatWindow.glade" />
  75. <EmbeddedResource Include="Ui\Windows\ControllerWindow.glade" />
  76. <EmbeddedResource Include="Ui\Windows\DlcWindow.glade" />
  77. <EmbeddedResource Include="Ui\Windows\SettingsWindow.glade" />
  78. <EmbeddedResource Include="Ui\Windows\TitleUpdateWindow.glade" />
  79. <EmbeddedResource Include="Modules\Updater\UpdateDialog.glade" />
  80. </ItemGroup>
  81. </Project>