Ryujinx.Tests.csproj 1.7 KB

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