From b0a53216f58e3dfdb8db2661e01d89f2d96f0e53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Thu, 18 Apr 2024 20:54:51 +0200 Subject: [PATCH] Native: Simplify NuGet packaging projects. --- src/Native/Directory.Build.targets | 2 + .../Silk.NET.Assimp.Native.csproj | 18 ------ .../Silk.NET.DXVK.Native.csproj | 56 ------------------- .../Silk.NET.DirectStorage.Native.csproj | 20 ++----- .../Silk.NET.GLFW.Native.csproj | 18 ------ .../Silk.NET.MoltenVK.Native.csproj | 12 +--- .../Silk.NET.OpenAL.Soft.Native.csproj | 18 ------ .../Silk.NET.OpenGLES.ANGLE.Native.csproj | 20 ++----- .../Silk.NET.SDL.Native.csproj | 22 -------- .../Silk.NET.SPIRV.Cross.Native.csproj | 21 ------- .../Silk.NET.SPIRV.Reflect.Native.csproj | 21 ------- .../Silk.NET.Shaderc.Native.csproj | 25 +-------- .../Silk.NET.Vkd3d.Native.csproj | 15 +---- .../Silk.NET.Vulkan.Loader.Native.csproj | 17 ++---- .../Silk.NET.Vulkan.SwiftShader.Native.csproj | 27 ++------- .../Silk.NET.WebGPU.Native.WGPU.csproj | 18 ------ 16 files changed, 26 insertions(+), 304 deletions(-) diff --git a/src/Native/Directory.Build.targets b/src/Native/Directory.Build.targets index 432c8d258e..db9d98ff21 100644 --- a/src/Native/Directory.Build.targets +++ b/src/Native/Directory.Build.targets @@ -1,5 +1,7 @@ + + diff --git a/src/Native/Silk.NET.Assimp.Native/Silk.NET.Assimp.Native.csproj b/src/Native/Silk.NET.Assimp.Native/Silk.NET.Assimp.Native.csproj index d19cbd65b4..1594bca00b 100644 --- a/src/Native/Silk.NET.Assimp.Native/Silk.NET.Assimp.Native.csproj +++ b/src/Native/Silk.NET.Assimp.Native/Silk.NET.Assimp.Native.csproj @@ -1,9 +1,5 @@ - - true - - @@ -17,20 +13,6 @@ Multi-platform native library for Assimp. git https://github.com/assimp/assimp - false - true - - - - - - - - - - - - diff --git a/src/Native/Silk.NET.DXVK.Native/Silk.NET.DXVK.Native.csproj b/src/Native/Silk.NET.DXVK.Native/Silk.NET.DXVK.Native.csproj index fe9452cd64..412a97881e 100644 --- a/src/Native/Silk.NET.DXVK.Native/Silk.NET.DXVK.Native.csproj +++ b/src/Native/Silk.NET.DXVK.Native/Silk.NET.DXVK.Native.csproj @@ -1,9 +1,5 @@ - - true - - @@ -16,58 +12,6 @@ Multi-platform native library for DXVK. git https://github.com/doitsujin/dxvk - false - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/Native/Silk.NET.DirectStorage.Native/Silk.NET.DirectStorage.Native.csproj b/src/Native/Silk.NET.DirectStorage.Native/Silk.NET.DirectStorage.Native.csproj index a9dc3aba17..427e879ec1 100644 --- a/src/Native/Silk.NET.DirectStorage.Native/Silk.NET.DirectStorage.Native.csproj +++ b/src/Native/Silk.NET.DirectStorage.Native/Silk.NET.DirectStorage.Native.csproj @@ -1,8 +1,7 @@ - - true - + + netstandard2.0;net4.6.1 .NET Foundation and Contributors @@ -14,19 +13,10 @@ Contains DirectStorage binaries for use with .NET applications. git https://github.com/microsoft/DirectStorage - false - true + - - - - - - - - - - + + diff --git a/src/Native/Silk.NET.GLFW.Native/Silk.NET.GLFW.Native.csproj b/src/Native/Silk.NET.GLFW.Native/Silk.NET.GLFW.Native.csproj index 0e29cc5055..3a1a8e19a5 100644 --- a/src/Native/Silk.NET.GLFW.Native/Silk.NET.GLFW.Native.csproj +++ b/src/Native/Silk.NET.GLFW.Native/Silk.NET.GLFW.Native.csproj @@ -1,9 +1,5 @@ - - true - - @@ -17,20 +13,6 @@ Multi-platform native library for GLFW. git https://github.com/glfw/glfw - false - true - - - - - - - - - - - - diff --git a/src/Native/Silk.NET.MoltenVK.Native/Silk.NET.MoltenVK.Native.csproj b/src/Native/Silk.NET.MoltenVK.Native/Silk.NET.MoltenVK.Native.csproj index 08e416d101..281c6db31e 100644 --- a/src/Native/Silk.NET.MoltenVK.Native/Silk.NET.MoltenVK.Native.csproj +++ b/src/Native/Silk.NET.MoltenVK.Native/Silk.NET.MoltenVK.Native.csproj @@ -1,5 +1,7 @@ + + netstandard2.0 .NET Foundation and Contributors @@ -9,16 +11,6 @@ MoltenVK static library. git https://github.com/KhronosGroup/MoltenVK - false - true - - - - - - - - diff --git a/src/Native/Silk.NET.OpenAL.Soft.Native/Silk.NET.OpenAL.Soft.Native.csproj b/src/Native/Silk.NET.OpenAL.Soft.Native/Silk.NET.OpenAL.Soft.Native.csproj index f04889ff0f..1208da3da1 100644 --- a/src/Native/Silk.NET.OpenAL.Soft.Native/Silk.NET.OpenAL.Soft.Native.csproj +++ b/src/Native/Silk.NET.OpenAL.Soft.Native/Silk.NET.OpenAL.Soft.Native.csproj @@ -1,9 +1,5 @@ - - true - - @@ -16,20 +12,6 @@ Multi-platform native library for OpenAL Soft. git https://github.com/kcat/openal-soft - false - true - - - - - - - - - - - - diff --git a/src/Native/Silk.NET.OpenGLES.ANGLE.Native/Silk.NET.OpenGLES.ANGLE.Native.csproj b/src/Native/Silk.NET.OpenGLES.ANGLE.Native/Silk.NET.OpenGLES.ANGLE.Native.csproj index 6f4a87767d..23d75c51da 100644 --- a/src/Native/Silk.NET.OpenGLES.ANGLE.Native/Silk.NET.OpenGLES.ANGLE.Native.csproj +++ b/src/Native/Silk.NET.OpenGLES.ANGLE.Native/Silk.NET.OpenGLES.ANGLE.Native.csproj @@ -1,9 +1,11 @@ + - true $(MSBuildThisFileDirectory)..\..\..\build\submodules\ANGLE + + netstandard2.0;net4.6.1 .NET Foundation and Contributors @@ -12,19 +14,7 @@ https://github.com/dotnet/Silk.NET Multi-platform native library for ANGLE. git - https://chromium.googlesource.com/angle/angle/ - false - true + https://chromium.googlesource.com/angle/angle - - - - - - - - - - - + diff --git a/src/Native/Silk.NET.SDL.Native/Silk.NET.SDL.Native.csproj b/src/Native/Silk.NET.SDL.Native/Silk.NET.SDL.Native.csproj index efd875c269..9b8d0eaf4f 100644 --- a/src/Native/Silk.NET.SDL.Native/Silk.NET.SDL.Native.csproj +++ b/src/Native/Silk.NET.SDL.Native/Silk.NET.SDL.Native.csproj @@ -1,9 +1,5 @@ - - true - - @@ -17,24 +13,6 @@ Multi-platform native library for SDL. git https://github.com/libsdl-org/SDL - false - true - - - - - - - - - - - - - - - - diff --git a/src/Native/Silk.NET.SPIRV.Cross.Native/Silk.NET.SPIRV.Cross.Native.csproj b/src/Native/Silk.NET.SPIRV.Cross.Native/Silk.NET.SPIRV.Cross.Native.csproj index a1d740c432..ea396165a2 100644 --- a/src/Native/Silk.NET.SPIRV.Cross.Native/Silk.NET.SPIRV.Cross.Native.csproj +++ b/src/Native/Silk.NET.SPIRV.Cross.Native/Silk.NET.SPIRV.Cross.Native.csproj @@ -1,9 +1,5 @@ - - true - - @@ -16,23 +12,6 @@ Multi-platform native library for SPIRV-Cross. git https://github.com/KhronosGroup/SPIRV-Cross - false - true - - - - - - - - - - - - - - - diff --git a/src/Native/Silk.NET.SPIRV.Reflect.Native/Silk.NET.SPIRV.Reflect.Native.csproj b/src/Native/Silk.NET.SPIRV.Reflect.Native/Silk.NET.SPIRV.Reflect.Native.csproj index 0adac48398..ef3bd225e0 100644 --- a/src/Native/Silk.NET.SPIRV.Reflect.Native/Silk.NET.SPIRV.Reflect.Native.csproj +++ b/src/Native/Silk.NET.SPIRV.Reflect.Native/Silk.NET.SPIRV.Reflect.Native.csproj @@ -1,9 +1,5 @@ - - true - - @@ -16,23 +12,6 @@ Multi-platform native library for SPIRV-Reflect. git https://github.com/KhronosGroup/SPIRV-Reflect - false - true - - - - - - - - - - - - - - - diff --git a/src/Native/Silk.NET.Shaderc.Native/Silk.NET.Shaderc.Native.csproj b/src/Native/Silk.NET.Shaderc.Native/Silk.NET.Shaderc.Native.csproj index 5504c5f210..db573ac744 100644 --- a/src/Native/Silk.NET.Shaderc.Native/Silk.NET.Shaderc.Native.csproj +++ b/src/Native/Silk.NET.Shaderc.Native/Silk.NET.Shaderc.Native.csproj @@ -1,9 +1,5 @@ - - true - - @@ -12,27 +8,10 @@ .NET Foundation and Contributors true Apache-2.0 - https://github.com/google/shaderc/ + https://github.com/dotnet/Silk.NET Multi-platform native library for Shaderc. git - https://github.com/google/shaderc/ - false - true + https://github.com/google/shaderc - - - - - - - - - - - - - - - diff --git a/src/Native/Silk.NET.Vkd3d.Native/Silk.NET.Vkd3d.Native.csproj b/src/Native/Silk.NET.Vkd3d.Native/Silk.NET.Vkd3d.Native.csproj index 65e6e903d3..63063077e5 100644 --- a/src/Native/Silk.NET.Vkd3d.Native/Silk.NET.Vkd3d.Native.csproj +++ b/src/Native/Silk.NET.Vkd3d.Native/Silk.NET.Vkd3d.Native.csproj @@ -1,9 +1,5 @@ - - true - - @@ -16,16 +12,7 @@ https://github.com/dotnet/Silk.NET Native library for Vkd3d. git - https://gitlab.winehq.org/wine/vkd3d/ - false - true + https://gitlab.winehq.org/wine/vkd3d - - - - - - - diff --git a/src/Native/Silk.NET.Vulkan.Loader.Native/Silk.NET.Vulkan.Loader.Native.csproj b/src/Native/Silk.NET.Vulkan.Loader.Native/Silk.NET.Vulkan.Loader.Native.csproj index 9d584035d7..b8bee8f65f 100644 --- a/src/Native/Silk.NET.Vulkan.Loader.Native/Silk.NET.Vulkan.Loader.Native.csproj +++ b/src/Native/Silk.NET.Vulkan.Loader.Native/Silk.NET.Vulkan.Loader.Native.csproj @@ -1,9 +1,11 @@ + - true $(MSBuildThisFileDirectory)..\..\..\build\submodules\Vulkan-Loader + + netstandard2.0;net4.6.1 .NET Foundation and Contributors @@ -13,17 +15,6 @@ Multi-platform native library for Vulkan Loader. git https://github.com/KhronosGroup/Vulkan-Loader - false - true - - - - - - - - - - + diff --git a/src/Native/Silk.NET.Vulkan.SwiftShader.Native/Silk.NET.Vulkan.SwiftShader.Native.csproj b/src/Native/Silk.NET.Vulkan.SwiftShader.Native/Silk.NET.Vulkan.SwiftShader.Native.csproj index 75d5180e12..ab2cd34d55 100644 --- a/src/Native/Silk.NET.Vulkan.SwiftShader.Native/Silk.NET.Vulkan.SwiftShader.Native.csproj +++ b/src/Native/Silk.NET.Vulkan.SwiftShader.Native/Silk.NET.Vulkan.SwiftShader.Native.csproj @@ -1,9 +1,11 @@ + - true $(MSBuildThisFileDirectory)..\..\..\build\submodules\SwiftShader + + netstandard2.0;net4.6.1 .NET Foundation and Contributors @@ -12,26 +14,7 @@ https://github.com/dotnet/Silk.NET Multi-platform native library for SwiftShader. git - https://swiftshader.googlesource.com/SwiftShader/ - false - true + https://github.com/google/swiftshader - - - - - - - - - - - - - - - - - - + diff --git a/src/Native/Silk.NET.WebGPU.Native.WGPU/Silk.NET.WebGPU.Native.WGPU.csproj b/src/Native/Silk.NET.WebGPU.Native.WGPU/Silk.NET.WebGPU.Native.WGPU.csproj index 06948af956..09a24bf0c9 100644 --- a/src/Native/Silk.NET.WebGPU.Native.WGPU/Silk.NET.WebGPU.Native.WGPU.csproj +++ b/src/Native/Silk.NET.WebGPU.Native.WGPU/Silk.NET.WebGPU.Native.WGPU.csproj @@ -1,9 +1,5 @@ - - true - - @@ -16,20 +12,6 @@ Multi-platform native library for WGPU. git https://github.com/gfx-rs/wgpu-native - false - true - - - - - - - - - - - -