From 4410f7d2b198a029644a4dcf9f4a60bb88393bb2 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Wed, 18 Oct 2023 00:16:12 +0200 Subject: [PATCH] Centralize native libs to cleanup solution explorer --- .gitignore | 5 +++-- .../arm64/WinPixEventRuntime.dll | Bin .../arm64/WinPixEventRuntime_UAP.dll | Bin .../Libraries => libs}/arm64/dxcompiler.dll | Bin .../Libraries => libs}/arm64/dxil.dll | Bin .../x64/WinPixEventRuntime.dll | Bin .../x64/WinPixEventRuntime_UAP.dll | Bin .../Libraries => libs}/x64/dxcompiler.dll | Bin .../Libraries => libs}/x64/dxil.dll | Bin src/ComputeSharp.Dxc/ComputeSharp.Dxc.csproj | 16 ++++++++-------- src/ComputeSharp.Pix/ComputeSharp.Pix.csproj | 12 ++++++------ .../ComputeSharp.SourceGenerators.csproj | 8 ++++---- 12 files changed, 21 insertions(+), 20 deletions(-) rename {src/ComputeSharp.Pix/Libraries => libs}/arm64/WinPixEventRuntime.dll (100%) rename {src/ComputeSharp.Pix/Libraries => libs}/arm64/WinPixEventRuntime_UAP.dll (100%) rename {src/ComputeSharp.Dxc/Libraries => libs}/arm64/dxcompiler.dll (100%) rename {src/ComputeSharp.Dxc/Libraries => libs}/arm64/dxil.dll (100%) rename {src/ComputeSharp.Pix/Libraries => libs}/x64/WinPixEventRuntime.dll (100%) rename {src/ComputeSharp.Pix/Libraries => libs}/x64/WinPixEventRuntime_UAP.dll (100%) rename {src/ComputeSharp.Dxc/Libraries => libs}/x64/dxcompiler.dll (100%) rename {src/ComputeSharp.Dxc/Libraries => libs}/x64/dxil.dll (100%) diff --git a/.gitignore b/.gitignore index 73aa5e9a..fe276437 100644 --- a/.gitignore +++ b/.gitignore @@ -18,6 +18,7 @@ [Rr]elease/ [Rr]eleases/ x64/ +arm64/ x86/ bld/ [Bb]in/ @@ -25,8 +26,8 @@ bld/ [Ll]og/ # Include the bundled libraries -!**/Libraries/x64/ -!**/Libraries/arm64/ +!libs/x64/ +!libs/arm64/ # Debug view types !**/Resources/Debug diff --git a/src/ComputeSharp.Pix/Libraries/arm64/WinPixEventRuntime.dll b/libs/arm64/WinPixEventRuntime.dll similarity index 100% rename from src/ComputeSharp.Pix/Libraries/arm64/WinPixEventRuntime.dll rename to libs/arm64/WinPixEventRuntime.dll diff --git a/src/ComputeSharp.Pix/Libraries/arm64/WinPixEventRuntime_UAP.dll b/libs/arm64/WinPixEventRuntime_UAP.dll similarity index 100% rename from src/ComputeSharp.Pix/Libraries/arm64/WinPixEventRuntime_UAP.dll rename to libs/arm64/WinPixEventRuntime_UAP.dll diff --git a/src/ComputeSharp.Dxc/Libraries/arm64/dxcompiler.dll b/libs/arm64/dxcompiler.dll similarity index 100% rename from src/ComputeSharp.Dxc/Libraries/arm64/dxcompiler.dll rename to libs/arm64/dxcompiler.dll diff --git a/src/ComputeSharp.Dxc/Libraries/arm64/dxil.dll b/libs/arm64/dxil.dll similarity index 100% rename from src/ComputeSharp.Dxc/Libraries/arm64/dxil.dll rename to libs/arm64/dxil.dll diff --git a/src/ComputeSharp.Pix/Libraries/x64/WinPixEventRuntime.dll b/libs/x64/WinPixEventRuntime.dll similarity index 100% rename from src/ComputeSharp.Pix/Libraries/x64/WinPixEventRuntime.dll rename to libs/x64/WinPixEventRuntime.dll diff --git a/src/ComputeSharp.Pix/Libraries/x64/WinPixEventRuntime_UAP.dll b/libs/x64/WinPixEventRuntime_UAP.dll similarity index 100% rename from src/ComputeSharp.Pix/Libraries/x64/WinPixEventRuntime_UAP.dll rename to libs/x64/WinPixEventRuntime_UAP.dll diff --git a/src/ComputeSharp.Dxc/Libraries/x64/dxcompiler.dll b/libs/x64/dxcompiler.dll similarity index 100% rename from src/ComputeSharp.Dxc/Libraries/x64/dxcompiler.dll rename to libs/x64/dxcompiler.dll diff --git a/src/ComputeSharp.Dxc/Libraries/x64/dxil.dll b/libs/x64/dxil.dll similarity index 100% rename from src/ComputeSharp.Dxc/Libraries/x64/dxil.dll rename to libs/x64/dxil.dll diff --git a/src/ComputeSharp.Dxc/ComputeSharp.Dxc.csproj b/src/ComputeSharp.Dxc/ComputeSharp.Dxc.csproj index 6a602110..abb3485b 100644 --- a/src/ComputeSharp.Dxc/ComputeSharp.Dxc.csproj +++ b/src/ComputeSharp.Dxc/ComputeSharp.Dxc.csproj @@ -22,14 +22,14 @@ --> - - + + - - + + @@ -44,10 +44,10 @@ --> - - - - + + + + diff --git a/src/ComputeSharp.Pix/ComputeSharp.Pix.csproj b/src/ComputeSharp.Pix/ComputeSharp.Pix.csproj index f18e92e3..20403ec5 100644 --- a/src/ComputeSharp.Pix/ComputeSharp.Pix.csproj +++ b/src/ComputeSharp.Pix/ComputeSharp.Pix.csproj @@ -15,7 +15,7 @@ - @@ -23,7 +23,7 @@ - @@ -47,25 +47,25 @@ $(NoWarn);NU5100 - - - - - - - - + + + +