Remove Dynamic/Pix packaging projects, minor tweaks

このコミットが含まれているのは:
Sergio Pedri committed 2023-04-22 03:06:26 +02:00
1 親 6df70f3ab2
コミット 323f513a4c
7ファイル変更
+66 -109

検索条件に一致するファイルはありません

+20 -8
ファイルの表示
@@ -23,14 +23,14 @@
just copy the right native libraries to the output directory, with no subfolders. -->
<When Condition="'$(Platform)' == 'x64' OR '$(CI_RUNNER_DOTNET_TEST_PLATFORM)' == 'x64'">
<ItemGroup>
<None Include="Libraries\x64\dxcompiler.dll" Link="dxcompiler.dll" Visible="False" CopyToOutputDirectory="PreserveNewest" />
<None Include="Libraries\x64\dxil.dll" Link="dxil.dll" Visible="False" CopyToOutputDirectory="PreserveNewest" />
<None Include="Libraries\x64\dxcompiler.dll" Link="dxcompiler.dll" CopyToOutputDirectory="PreserveNewest" Visible="False" />
<None Include="Libraries\x64\dxil.dll" Link="dxil.dll" CopyToOutputDirectory="PreserveNewest" Visible="False" />
</ItemGroup>
</When>
<When Condition="'$(Platform)' == 'ARM64' OR '$(CI_RUNNER_DOTNET_TEST_PLATFORM)' == 'x64'">
<ItemGroup>
<None Include="Libraries\arm64\dxcompiler.dll" Link="dxcompiler.dll" Visible="False" CopyToOutputDirectory="PreserveNewest" />
<None Include="Libraries\arm64\dxil.dll" Link="dxil.dll" Visible="False" CopyToOutputDirectory="PreserveNewest" />
<None Include="Libraries\arm64\dxcompiler.dll" Link="dxcompiler.dll" CopyToOutputDirectory="PreserveNewest" Visible="False" />
<None Include="Libraries\arm64\dxil.dll" Link="dxil.dll" CopyToOutputDirectory="PreserveNewest" Visible="False" />
</ItemGroup>
</When>
@@ -43,11 +43,23 @@
while still not causing any change in the final NuGet package (Link isn't looked up there). -->
<Otherwise>
<ItemGroup>
<None Include="Libraries\x64\dxcompiler.dll" Link="runtimes\win-x64\native\dxcompiler.dll" Visible="False" CopyToOutputDirectory="PreserveNewest" PackFolder="runtimes\win-x64\native" />
<None Include="Libraries\x64\dxil.dll" Link="runtimes\win-x64\native\dxil.dll" Visible="False" CopyToOutputDirectory="PreserveNewest" PackFolder="runtimes\win-x64\native" />
<None Include="Libraries\arm64\dxcompiler.dll" Link="runtimes\win-arm64\native\dxcompiler.dll" Visible="False" CopyToOutputDirectory="PreserveNewest" PackFolder="runtimes\win-arm64\native" />
<None Include="Libraries\arm64\dxil.dll" Link="runtimes\win-arm64\native\dxil.dll" Visible="False" CopyToOutputDirectory="PreserveNewest" PackFolder="runtimes\win-arm64\native" />
<None Include="Libraries\x64\dxcompiler.dll" Link="runtimes\win-x64\native\dxcompiler.dll" CopyToOutputDirectory="PreserveNewest" Pack="true" PackagePath="\runtimes\win-x64\native" Visible="False" />
<None Include="Libraries\x64\dxil.dll" Link="runtimes\win-x64\native\dxil.dll" CopyToOutputDirectory="PreserveNewest" Pack="true" PackagePath="\runtimes\win-x64\native" Visible="False" />
<None Include="Libraries\arm64\dxcompiler.dll" Link="runtimes\win-arm64\native\dxcompiler.dll" CopyToOutputDirectory="PreserveNewest" Pack="true" PackagePath="\runtimes\win-arm64\native" Visible="False" />
<None Include="Libraries\arm64\dxil.dll" Link="runtimes\win-arm64\native\dxil.dll" CopyToOutputDirectory="PreserveNewest" Pack="true" PackagePath="\runtimes\win-arm64\native" Visible="False" />
</ItemGroup>
</Otherwise>
</Choose>
<!-- NuGet package info -->
<PropertyGroup Label="Package">
<Description>An extension library for ComputeSharp to enable dynamic compilation of shaders at runtime</Description>
</PropertyGroup>
<!-- NuGet package setup -->
<ItemGroup Label="Package">
<!-- Package icon -->
<None Include="..\..\assets\icon.png" Pack="true" PackagePath="\" Visible="False" />
</ItemGroup>
</Project>