Move native libraries to ComputeSharp.Dynamic

このコミットが含まれているのは:
Sergio Pedri committed 2021-12-19 16:45:11 +01:00
1 親 1305502465
コミット 5f8196716b
6ファイル変更
+25 -97

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

+25 -25
ファイルの表示
@@ -70,7 +70,7 @@ Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ComputeSharp.SwapChain.Core
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ComputeSharp.Tests.DisableDynamicCompilation", "tests\ComputeSharp.Tests.DisableDynamicCompilation\ComputeSharp.Tests.DisableDynamicCompilation.csproj", "{4A8FCE22-851C-442A-8BC9-3EC3FD00B637}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ComputeSharp.Dynamic", "src\ComputeSharp.Dynamic\ComputeSharp.Dynamic.csproj", "{76C66257-FDAA-47AB-85E7-EF757EAB10C0}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ComputeSharp.Dynamic", "src\ComputeSharp.Dynamic\ComputeSharp.Dynamic.csproj", "{76C66257-FDAA-47AB-85E7-EF757EAB10C0}"
EndProject
Global
GlobalSection(SharedMSBuildProjectFiles) = preSolution
@@ -103,18 +103,18 @@ Global
Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{314EB353-E7E3-4146-8111-685CC83EC1DE}.Debug|Any CPU.ActiveCfg = Debug|x64
{314EB353-E7E3-4146-8111-685CC83EC1DE}.Debug|Any CPU.Build.0 = Debug|x64
{314EB353-E7E3-4146-8111-685CC83EC1DE}.Debug|ARM64.ActiveCfg = Debug|ARM64
{314EB353-E7E3-4146-8111-685CC83EC1DE}.Debug|ARM64.Build.0 = Debug|ARM64
{314EB353-E7E3-4146-8111-685CC83EC1DE}.Debug|x64.ActiveCfg = Debug|x64
{314EB353-E7E3-4146-8111-685CC83EC1DE}.Debug|x64.Build.0 = Debug|x64
{314EB353-E7E3-4146-8111-685CC83EC1DE}.Release|Any CPU.ActiveCfg = Release|x64
{314EB353-E7E3-4146-8111-685CC83EC1DE}.Release|Any CPU.Build.0 = Release|x64
{314EB353-E7E3-4146-8111-685CC83EC1DE}.Release|ARM64.ActiveCfg = Release|ARM64
{314EB353-E7E3-4146-8111-685CC83EC1DE}.Release|ARM64.Build.0 = Release|ARM64
{314EB353-E7E3-4146-8111-685CC83EC1DE}.Release|x64.ActiveCfg = Release|x64
{314EB353-E7E3-4146-8111-685CC83EC1DE}.Release|x64.Build.0 = Release|x64
{314EB353-E7E3-4146-8111-685CC83EC1DE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{314EB353-E7E3-4146-8111-685CC83EC1DE}.Debug|Any CPU.Build.0 = Debug|Any CPU
{314EB353-E7E3-4146-8111-685CC83EC1DE}.Debug|ARM64.ActiveCfg = Debug|Any CPU
{314EB353-E7E3-4146-8111-685CC83EC1DE}.Debug|ARM64.Build.0 = Debug|Any CPU
{314EB353-E7E3-4146-8111-685CC83EC1DE}.Debug|x64.ActiveCfg = Debug|Any CPU
{314EB353-E7E3-4146-8111-685CC83EC1DE}.Debug|x64.Build.0 = Debug|Any CPU
{314EB353-E7E3-4146-8111-685CC83EC1DE}.Release|Any CPU.ActiveCfg = Release|Any CPU
{314EB353-E7E3-4146-8111-685CC83EC1DE}.Release|Any CPU.Build.0 = Release|Any CPU
{314EB353-E7E3-4146-8111-685CC83EC1DE}.Release|ARM64.ActiveCfg = Release|Any CPU
{314EB353-E7E3-4146-8111-685CC83EC1DE}.Release|ARM64.Build.0 = Release|Any CPU
{314EB353-E7E3-4146-8111-685CC83EC1DE}.Release|x64.ActiveCfg = Release|Any CPU
{314EB353-E7E3-4146-8111-685CC83EC1DE}.Release|x64.Build.0 = Release|Any CPU
{34AFE6E6-9A4C-4C3F-AE69-DD3693086DAF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{34AFE6E6-9A4C-4C3F-AE69-DD3693086DAF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{34AFE6E6-9A4C-4C3F-AE69-DD3693086DAF}.Debug|ARM64.ActiveCfg = Debug|Any CPU
@@ -319,18 +319,18 @@ Global
{4A8FCE22-851C-442A-8BC9-3EC3FD00B637}.Release|ARM64.Build.0 = Release|Any CPU
{4A8FCE22-851C-442A-8BC9-3EC3FD00B637}.Release|x64.ActiveCfg = Release|Any CPU
{4A8FCE22-851C-442A-8BC9-3EC3FD00B637}.Release|x64.Build.0 = Release|Any CPU
{76C66257-FDAA-47AB-85E7-EF757EAB10C0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{76C66257-FDAA-47AB-85E7-EF757EAB10C0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{76C66257-FDAA-47AB-85E7-EF757EAB10C0}.Debug|ARM64.ActiveCfg = Debug|Any CPU
{76C66257-FDAA-47AB-85E7-EF757EAB10C0}.Debug|ARM64.Build.0 = Debug|Any CPU
{76C66257-FDAA-47AB-85E7-EF757EAB10C0}.Debug|x64.ActiveCfg = Debug|Any CPU
{76C66257-FDAA-47AB-85E7-EF757EAB10C0}.Debug|x64.Build.0 = Debug|Any CPU
{76C66257-FDAA-47AB-85E7-EF757EAB10C0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{76C66257-FDAA-47AB-85E7-EF757EAB10C0}.Release|Any CPU.Build.0 = Release|Any CPU
{76C66257-FDAA-47AB-85E7-EF757EAB10C0}.Release|ARM64.ActiveCfg = Release|Any CPU
{76C66257-FDAA-47AB-85E7-EF757EAB10C0}.Release|ARM64.Build.0 = Release|Any CPU
{76C66257-FDAA-47AB-85E7-EF757EAB10C0}.Release|x64.ActiveCfg = Release|Any CPU
{76C66257-FDAA-47AB-85E7-EF757EAB10C0}.Release|x64.Build.0 = Release|Any CPU
{76C66257-FDAA-47AB-85E7-EF757EAB10C0}.Debug|Any CPU.ActiveCfg = Debug|x64
{76C66257-FDAA-47AB-85E7-EF757EAB10C0}.Debug|Any CPU.Build.0 = Debug|x64
{76C66257-FDAA-47AB-85E7-EF757EAB10C0}.Debug|ARM64.ActiveCfg = Debug|ARM64
{76C66257-FDAA-47AB-85E7-EF757EAB10C0}.Debug|ARM64.Build.0 = Debug|ARM64
{76C66257-FDAA-47AB-85E7-EF757EAB10C0}.Debug|x64.ActiveCfg = Debug|x64
{76C66257-FDAA-47AB-85E7-EF757EAB10C0}.Debug|x64.Build.0 = Debug|x64
{76C66257-FDAA-47AB-85E7-EF757EAB10C0}.Release|Any CPU.ActiveCfg = Release|x64
{76C66257-FDAA-47AB-85E7-EF757EAB10C0}.Release|Any CPU.Build.0 = Release|x64
{76C66257-FDAA-47AB-85E7-EF757EAB10C0}.Release|ARM64.ActiveCfg = Release|ARM64
{76C66257-FDAA-47AB-85E7-EF757EAB10C0}.Release|ARM64.Build.0 = Release|ARM64
{76C66257-FDAA-47AB-85E7-EF757EAB10C0}.Release|x64.ActiveCfg = Release|x64
{76C66257-FDAA-47AB-85E7-EF757EAB10C0}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
差分なしでファイル名を変更。
差分なしでファイル名を変更。
差分なしでファイル名を変更。
差分なしでファイル名を変更。
-72
ファイルの表示
@@ -4,8 +4,6 @@
<OutputPath>bin\Release</OutputPath>
<DocumentationFile>ComputeSharp.xml</DocumentationFile>
<Description>ComputeSharp</Description>
<Platforms>AnyCPU;x64;ARM64</Platforms>
<DisableShaderCompilationSupport>false</DisableShaderCompilationSupport>
</PropertyGroup>
<ItemGroup>
@@ -38,76 +36,6 @@
<NoWarn>$(NoWarn);CS1591</NoWarn>
</PropertyGroup>
<!-- Define DISABLE_RUNTIME_SHADER_COMPILATION_SUPPORT if requested -->
<PropertyGroup Condition="'$(DisableShaderCompilationSupport)' == 'true'">
<DefineConstants>$(DefineConstants);DISABLE_RUNTIME_SHADER_COMPILATION_SUPPORT</DefineConstants>
</PropertyGroup>
<Choose>
<!-- Skip bundling any native library if support is disabled -->
<When Condition="'$(DisableShaderCompilationSupport)' == 'true'"/>
<!-- When building locally for x64/ARM64 (using the project through a project reference),
just copy the right native libraries to the output directory, with no subfolders. -->
<When Condition="'$(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" />
</ItemGroup>
</When>
<When Condition="'$(Platform)' == 'ARM64'">
<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" />
</ItemGroup>
</When>
<!-- When no RID is specified, it means the NuGet package is being packed. In this
case, copy all native libraries to the right runtimes/<RID>/native directory,
which will automatically be used by NuGet to deploy the right libs to consumers.
Still keep the link target to get the libraries to be copied to the output, which
allows them to be found even when running the library locally in Any CPU. This will
make life easier for developers using a project reference with an incorrect configuration,
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" />
</ItemGroup>
</Otherwise>
</Choose>
<ItemGroup>
<Service Include="{508349b6-6b84-4df5-91f0-309beebad82d}" />
</ItemGroup>