41 行
2.8 KiB
XML
41 行
2.8 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<TargetFrameworks Condition="'$(UseD3D12MemoryAllocator)' != 'true'">net472;net6.0;net7.0</TargetFrameworks>
|
|
<TargetFrameworks Condition="'$(UseD3D12MemoryAllocator)' == 'true'">net6.0;net7.0</TargetFrameworks>
|
|
<Platforms>AnyCPU;x64;ARM64</Platforms>
|
|
</PropertyGroup>
|
|
|
|
<!-- Add a defined constant for D3D12MA, same as in the main test project -->
|
|
<PropertyGroup Condition="'$(UseD3D12MemoryAllocator)' == 'true'">
|
|
<DefineConstants>$(DefineConstants);USE_D3D12MA</DefineConstants>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="CommunityToolkit.Diagnostics" Version="8.2.1" />
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.3" />
|
|
<PackageReference Include="MSTest.TestAdapter" Version="3.1.1" />
|
|
<PackageReference Include="MSTest.TestFramework" Version="3.1.1" />
|
|
<PackageReference Include="Vortice.Win32.Graphics.Direct3D12" Version="1.9.34" />
|
|
<PackageReference Include="Vortice.Win32.Graphics.Dxgi" Version="1.9.34" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\src\ComputeSharp.Core\ComputeSharp.Core.csproj" />
|
|
<ProjectReference Include="..\..\src\ComputeSharp.Core.SourceGenerators\ComputeSharp.Core.SourceGenerators.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" PrivateAssets="contentfiles;build" />
|
|
<ProjectReference Include="..\..\src\ComputeSharp.D3D12MemoryAllocator\ComputeSharp.D3D12MemoryAllocator.csproj" Condition="'$(UseD3D12MemoryAllocator)' == 'true'" />
|
|
<ProjectReference Include="..\..\src\ComputeSharp\ComputeSharp.csproj" />
|
|
<ProjectReference Include="..\..\src\ComputeSharp.SourceGenerators\ComputeSharp.SourceGenerators.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" PrivateAssets="contentfiles;build" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Include="..\ComputeSharp.Tests\Attributes\AdditionalDataAttribute.cs" Link="Attributes\AdditionalDataAttribute.cs" />
|
|
<Compile Include="..\ComputeSharp.Tests\Attributes\AdditionalResourceAttribute.cs" Link="Attributes\AdditionalResourceAttribute.cs" />
|
|
<Compile Include="..\ComputeSharp.Tests\Attributes\AllDevicesAttribute.cs" Link="Attributes\AllDevicesAttribute.cs" />
|
|
<Compile Include="..\ComputeSharp.Tests\Attributes\CombinatorialTestMethodAttribute.cs" Link="Attributes\CombinatorialTestMethodAttribute.cs" />
|
|
<Compile Include="..\ComputeSharp.Tests\Attributes\DataAttribute.cs" Link="Attributes\DataAttribute.cs" />
|
|
<Compile Include="..\ComputeSharp.Tests\Attributes\DeviceAttribute.cs" Link="Attributes\DeviceAttribute.cs" />
|
|
<Compile Include="..\ComputeSharp.Tests\Attributes\ResourceAttribute.cs" Link="Attributes\ResourceAttribute.cs" />
|
|
<Compile Include="..\ComputeSharp.Tests\Extensions\GraphicsDeviceExtensions.cs" Link="Extensions\GraphicsDeviceExtensions.cs" />
|
|
</ItemGroup>
|
|
</Project>
|