Ryujinx.csproj 4.4 KB

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