Ryujinx.Tests.csproj 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <TargetFramework>netcoreapp3.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;Profile Debug;Profile Release</Configurations>
  11. </PropertyGroup>
  12. <PropertyGroup>
  13. <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
  14. </PropertyGroup>
  15. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Profile Release|AnyCPU'">
  16. <DefineConstants>TRACE;USE_PROFILING</DefineConstants>
  17. <Optimize>true</Optimize>
  18. </PropertyGroup>
  19. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Profile Debug|AnyCPU'">
  20. <DefineConstants>TRACE;USE_PROFILING</DefineConstants>
  21. <Optimize>false</Optimize>
  22. </PropertyGroup>
  23. <ItemGroup>
  24. <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" />
  25. <PackageReference Include="NUnit" Version="3.12.0" />
  26. <PackageReference Include="NUnit3TestAdapter" Version="3.15.1" />
  27. </ItemGroup>
  28. <ItemGroup>
  29. <ProjectReference Include="..\Ryujinx.Tests.Unicorn\Ryujinx.Tests.Unicorn.csproj" />
  30. <ProjectReference Include="..\ARMeilleure\ARMeilleure.csproj" />
  31. </ItemGroup>
  32. <Target Name="CopyUnicorn" AfterTargets="Build">
  33. <Copy SourceFiles="..\Ryujinx.Tests.Unicorn\libs\$(TargetOS)\unicorn.dll" DestinationFolder="$(OutputPath)" ContinueOnError="true" />
  34. <Copy SourceFiles="..\Ryujinx.Tests.Unicorn\libs\$(TargetOS)\libunicorn.dylib" DestinationFolder="$(OutputPath)" ContinueOnError="true" />
  35. <Copy SourceFiles="..\Ryujinx.Tests.Unicorn\libs\$(TargetOS)\libunicorn.so" DestinationFolder="$(OutputPath)" ContinueOnError="true" />
  36. </Target>
  37. </Project>