Add ComputeSharp.Dynamic project

このコミットが含まれているのは:
Sergio Pedri committed 2021-12-19 16:45:10 +01:00
1 親 f48649e0a9
コミット 1305502465
2ファイル変更
+85

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

+14
ファイルの表示
@@ -70,6 +70,8 @@ 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}"
EndProject
Global
GlobalSection(SharedMSBuildProjectFiles) = preSolution
samples\ComputeSharp.SwapChain.Core.Shared\ComputeSharp.SwapChain.Core.Shared.projitems*{0071701e-b9c5-4098-be5f-ef556c4553c6}*SharedItemsImports = 5
@@ -317,6 +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
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
+71
ファイルの表示
@@ -0,0 +1,71 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
<OutputPath>bin\Release</OutputPath>
<DocumentationFile>ComputeSharp.Dynamic.xml</DocumentationFile>
<Description>ComputeSharp.Dynamic</Description>
<Platforms>AnyCPU;x64;ARM64</Platforms>
</PropertyGroup>
<Choose>
<!-- 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>
</Project>