Ryujinx.Ava.csproj 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  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. <SigningCertificate Condition=" '$(SigningCertificate)' == '' ">-</SigningCertificate>
  10. <RootNamespace>Ryujinx.Ava</RootNamespace>
  11. <ApplicationIcon>Ryujinx.ico</ApplicationIcon>
  12. <TieredPGO>true</TieredPGO>
  13. </PropertyGroup>
  14. <Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="$([MSBuild]::IsOSPlatform('OSX'))">
  15. <Exec Command="codesign --entitlements '$(ProjectDir)..\distribution\macos\entitlements.xml' -f --deep -s $(SigningCertificate) '$(TargetDir)$(TargetName)'" />
  16. </Target>
  17. <PropertyGroup Condition="'$(RuntimeIdentifier)' != ''">
  18. <PublishSingleFile>true</PublishSingleFile>
  19. <PublishTrimmed>true</PublishTrimmed>
  20. <TrimMode>partial</TrimMode>
  21. </PropertyGroup>
  22. <ItemGroup>
  23. <PackageReference Include="Avalonia" />
  24. <PackageReference Include="Avalonia.Desktop" />
  25. <PackageReference Include="Avalonia.Diagnostics" />
  26. <PackageReference Include="Avalonia.Controls.DataGrid" />
  27. <PackageReference Include="Avalonia.Markup.Xaml.Loader" />
  28. <PackageReference Include="Avalonia.Svg" />
  29. <PackageReference Include="Avalonia.Svg.Skia" />
  30. <PackageReference Include="jp2masa.Avalonia.Flexbox" />
  31. <PackageReference Include="DynamicData" />
  32. <PackageReference Include="FluentAvaloniaUI" />
  33. <PackageReference Include="XamlNameReferenceGenerator" />
  34. <PackageReference Include="OpenTK.Core" />
  35. <PackageReference Include="Ryujinx.Audio.OpenAL.Dependencies" Condition="'$(RuntimeIdentifier)' != 'linux-x64' AND '$(RuntimeIdentifier)' != 'osx-x64' AND '$(RuntimeIdentifier)' != 'osx-arm64'" />
  36. <PackageReference Include="Ryujinx.Graphics.Nvdec.Dependencies" />
  37. <PackageReference Include="Ryujinx.Graphics.Vulkan.Dependencies.MoltenVK" Condition="'$(RuntimeIdentifier)' != 'linux-x64' AND '$(RuntimeIdentifier)' != 'win10-x64'" />
  38. <PackageReference Include="Silk.NET.Vulkan" />
  39. <PackageReference Include="Silk.NET.Vulkan.Extensions.EXT" />
  40. <PackageReference Include="Silk.NET.Vulkan.Extensions.KHR" />
  41. <PackageReference Include="SPB" />
  42. <PackageReference Include="SharpZipLib" />
  43. <PackageReference Include="SixLabors.ImageSharp" />
  44. <!--NOTE: DO NOT REMOVE, THIS IS REQUIRED AS A RESULT OF A TRIMMING ISSUE IN AVALONIA -->
  45. <PackageReference Include="System.Drawing.Common" />
  46. </ItemGroup>
  47. <ItemGroup>
  48. <ProjectReference Include="..\Ryujinx.Audio.Backends.SDL2\Ryujinx.Audio.Backends.SDL2.csproj" />
  49. <ProjectReference Include="..\Ryujinx.Graphics.Vulkan\Ryujinx.Graphics.Vulkan.csproj" />
  50. <ProjectReference Include="..\Ryujinx.Input\Ryujinx.Input.csproj" />
  51. <ProjectReference Include="..\Ryujinx.Input.SDL2\Ryujinx.Input.SDL2.csproj" />
  52. <ProjectReference Include="..\Ryujinx.Audio.Backends.OpenAL\Ryujinx.Audio.Backends.OpenAL.csproj" />
  53. <ProjectReference Include="..\Ryujinx.Audio.Backends.SoundIo\Ryujinx.Audio.Backends.SoundIo.csproj" />
  54. <ProjectReference Include="..\Ryujinx.Common\Ryujinx.Common.csproj" />
  55. <ProjectReference Include="..\Ryujinx.HLE\Ryujinx.HLE.csproj" />
  56. <ProjectReference Include="..\ARMeilleure\ARMeilleure.csproj" />
  57. <ProjectReference Include="..\Ryujinx.Graphics.OpenGL\Ryujinx.Graphics.OpenGL.csproj" />
  58. <ProjectReference Include="..\Ryujinx.Graphics.Gpu\Ryujinx.Graphics.Gpu.csproj" />
  59. <ProjectReference Include="..\Ryujinx.Ui.Common\Ryujinx.Ui.Common.csproj" />
  60. <ProjectReference Include="..\Ryujinx.Ui.LocaleGenerator\Ryujinx.Ui.LocaleGenerator.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
  61. </ItemGroup>
  62. <ItemGroup>
  63. <Content Include="..\distribution\windows\alsoft.ini" Condition="'$(RuntimeIdentifier)' != 'linux-x64' AND '$(RuntimeIdentifier)' != 'osx-x64'">
  64. <CopyToOutputDirectory>Always</CopyToOutputDirectory>
  65. <TargetPath>alsoft.ini</TargetPath>
  66. </Content>
  67. <Content Include="..\distribution\legal\THIRDPARTY.md">
  68. <CopyToOutputDirectory>Always</CopyToOutputDirectory>
  69. <TargetPath>THIRDPARTY.md</TargetPath>
  70. </Content>
  71. <Content Include="..\LICENSE.txt">
  72. <CopyToOutputDirectory>Always</CopyToOutputDirectory>
  73. <TargetPath>LICENSE.txt</TargetPath>
  74. </Content>
  75. </ItemGroup>
  76. <ItemGroup Condition="'$(RuntimeIdentifier)' == 'linux-x64'">
  77. <Content Include="..\distribution\linux\Ryujinx.sh">
  78. <CopyToOutputDirectory>Always</CopyToOutputDirectory>
  79. </Content>
  80. <Content Include="..\distribution\linux\mime\Ryujinx.xml">
  81. <CopyToOutputDirectory>Always</CopyToOutputDirectory>
  82. <TargetPath>mime\Ryujinx.xml</TargetPath>
  83. </Content>
  84. </ItemGroup>
  85. <ItemGroup>
  86. <AvaloniaResource Include="Ui\**\*.xaml">
  87. <SubType>Designer</SubType>
  88. </AvaloniaResource>
  89. <AvaloniaResource Include="Assets\Fonts\SegoeFluentIcons.ttf" />
  90. <AvaloniaResource Include="Assets\Styles\BaseLight.xaml">
  91. <Generator>MSBuild:Compile</Generator>
  92. </AvaloniaResource>
  93. <AvaloniaResource Include="Assets\Styles\BaseDark.xaml">
  94. <Generator>MSBuild:Compile</Generator>
  95. </AvaloniaResource>
  96. <AvaloniaResource Include="Assets\Styles\Styles.xaml" />
  97. <Compile Update="App.axaml.cs">
  98. <DependentUpon>App.axaml</DependentUpon>
  99. <SubType>Code</SubType>
  100. </Compile>
  101. <Compile Update="Ui\Windows\MainWindow.axaml.cs">
  102. <DependentUpon>MainWindow.axaml</DependentUpon>
  103. <SubType>Code</SubType>
  104. </Compile>
  105. <Compile Update="Ui\Windows\AboutWindow.axaml.cs">
  106. <DependentUpon>AboutWindow.axaml</DependentUpon>
  107. <SubType>Code</SubType>
  108. </Compile>
  109. <Compile Update="Ui\Applet\ErrorAppletWindow.axaml.cs">
  110. <DependentUpon>ProfileWindow.axaml</DependentUpon>
  111. <SubType>Code</SubType>
  112. </Compile>
  113. <Compile Update="Ui\Applet\SwkbdAppletWindow.axaml.cs">
  114. <DependentUpon>ProfileWindow.axaml</DependentUpon>
  115. <SubType>Code</SubType>
  116. </Compile>
  117. <Compile Update="Ui\Controls\InputDialog.axaml.cs">
  118. <DependentUpon>InputDialog.axaml</DependentUpon>
  119. <SubType>Code</SubType>
  120. </Compile>
  121. <Compile Update="Ui\Windows\ContentDialogOverlay.xaml.cs">
  122. <DependentUpon>ContentDialogOverlay.xaml</DependentUpon>
  123. </Compile>
  124. <Compile Update="Ui\Controls\GameListView.axaml.cs">
  125. <DependentUpon>GameListView.axaml</DependentUpon>
  126. <SubType>Code</SubType>
  127. </Compile>
  128. <Compile Update="UI\Views\User\UserEditorView.axaml.cs">
  129. <DependentUpon>UserEditor.axaml</DependentUpon>
  130. <SubType>Code</SubType>
  131. </Compile>
  132. <Compile Update="UI\Views\User\UserRecovererView.axaml.cs">
  133. <DependentUpon>UserRecoverer.axaml</DependentUpon>
  134. <SubType>Code</SubType>
  135. </Compile>
  136. <Compile Update="UI\Views\User\UserSelectorView.axaml.cs">
  137. <DependentUpon>UserSelector.axaml</DependentUpon>
  138. <SubType>Code</SubType>
  139. </Compile>
  140. </ItemGroup>
  141. <ItemGroup>
  142. <None Remove="Assets\Locales\el_GR.json" />
  143. <None Remove="Assets\Locales\en_US.json" />
  144. <None Remove="Assets\Locales\es_ES.json" />
  145. <None Remove="Assets\Locales\fr_FR.json" />
  146. <None Remove="Assets\Locales\de_DE.json" />
  147. <None Remove="Assets\Locales\it_IT.json" />
  148. <None Remove="Assets\Locales\ja_JP.json" />
  149. <None Remove="Assets\Locales\ko_KR.json" />
  150. <None Remove="Assets\Locales\pl_PL.json" />
  151. <None Remove="Assets\Locales\pt_BR.json" />
  152. <None Remove="Assets\Locales\ru_RU.json" />
  153. <None Remove="Assets\Locales\tr_TR.json" />
  154. <None Remove="Assets\Locales\uk_UA.json" />
  155. <None Remove="Assets\Locales\zh_CN.json" />
  156. <None Remove="Assets\Locales\zh_TW.json" />
  157. <None Remove="Assets\Styles\Styles.xaml" />
  158. <None Remove="Assets\Styles\BaseDark.xaml" />
  159. <None Remove="Assets\Styles\BaseLight.xaml" />
  160. </ItemGroup>
  161. <ItemGroup>
  162. <EmbeddedResource Include="Assets\Locales\el_GR.json" />
  163. <EmbeddedResource Include="Assets\Locales\en_US.json" />
  164. <EmbeddedResource Include="Assets\Locales\es_ES.json" />
  165. <EmbeddedResource Include="Assets\Locales\fr_FR.json" />
  166. <EmbeddedResource Include="Assets\Locales\de_DE.json" />
  167. <EmbeddedResource Include="Assets\Locales\it_IT.json" />
  168. <EmbeddedResource Include="Assets\Locales\ja_JP.json" />
  169. <EmbeddedResource Include="Assets\Locales\ko_KR.json" />
  170. <EmbeddedResource Include="Assets\Locales\pl_PL.json" />
  171. <EmbeddedResource Include="Assets\Locales\pt_BR.json" />
  172. <EmbeddedResource Include="Assets\Locales\ru_RU.json" />
  173. <EmbeddedResource Include="Assets\Locales\tr_TR.json" />
  174. <EmbeddedResource Include="Assets\Locales\uk_UA.json" />
  175. <EmbeddedResource Include="Assets\Locales\zh_CN.json" />
  176. <EmbeddedResource Include="Assets\Locales\zh_TW.json" />
  177. <EmbeddedResource Include="Assets\Styles\Styles.xaml" />
  178. </ItemGroup>
  179. <ItemGroup>
  180. <AdditionalFiles Include="Assets\Locales\en_US.json" />
  181. </ItemGroup>
  182. </Project>