Ryujinx.Tests.csproj 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <TargetFramework>net7.0</TargetFramework>
  4. <OutputType>Exe</OutputType>
  5. <IsPackable>false</IsPackable>
  6. <TargetOS Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Windows)))' == 'true'">windows</TargetOS>
  7. <TargetOS Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::OSX)))' == 'true'">osx</TargetOS>
  8. <TargetOS Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))' == 'true'">linux</TargetOS>
  9. <Configurations>Debug;Release</Configurations>
  10. <RunSettingsFilePath>$(MSBuildProjectDirectory)\.runsettings</RunSettingsFilePath>
  11. </PropertyGroup>
  12. <PropertyGroup>
  13. <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
  14. <AllowUnsafeBlocks>True</AllowUnsafeBlocks>
  15. </PropertyGroup>
  16. <ItemGroup>
  17. <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.8.0" />
  18. <PackageReference Include="NUnit" Version="3.12.0" />
  19. <PackageReference Include="NUnit3TestAdapter" Version="3.17.0" />
  20. </ItemGroup>
  21. <ItemGroup>
  22. <ProjectReference Include="..\Ryujinx.Audio\Ryujinx.Audio.csproj" />
  23. <ProjectReference Include="..\Ryujinx.Cpu\Ryujinx.Cpu.csproj" />
  24. <ProjectReference Include="..\Ryujinx.HLE\Ryujinx.HLE.csproj" />
  25. <ProjectReference Include="..\Ryujinx.Memory.Tests\Ryujinx.Memory.Tests.csproj" />
  26. <ProjectReference Include="..\Ryujinx.Memory\Ryujinx.Memory.csproj" />
  27. <ProjectReference Include="..\Ryujinx.Tests.Unicorn\Ryujinx.Tests.Unicorn.csproj" />
  28. <ProjectReference Include="..\ARMeilleure\ARMeilleure.csproj" />
  29. </ItemGroup>
  30. <Target Name="CopyUnicorn" AfterTargets="Build">
  31. <Copy SourceFiles="..\Ryujinx.Tests.Unicorn\libs\$(TargetOS)\unicorn.dll" DestinationFolder="$(OutputPath)" ContinueOnError="true" />
  32. </Target>
  33. </Project>