From 87d17d601da524be9443e9405e5fa8e94e821a08 Mon Sep 17 00:00:00 2001 From: Johann Date: Tue, 4 Feb 2025 16:26:39 +0100 Subject: [PATCH] Directory.Build.props to define VulkanBinPath in one place, instead of every single .csproj --- Source/Chapter02Shaders/Chapter02Shaders.csproj | 3 --- Source/Chapter03PipelineSetup/Chapter03PipelineSetup.csproj | 4 ---- .../Chapter04PipelineStages/Chapter04PipelineStages.csproj | 4 ---- Source/Chapter05SwapChain/Chapter05PipelineStages.csproj | 6 +----- .../Chapter06VertexBuffers/Chapter06VertextBuffers.csproj | 4 ---- .../Chapter07FragmentInterpolation.csproj | 4 ---- .../Chapter08DynamicViewports.csproj | 4 ---- Source/Chapter09PushConstants/Chapter09PushConstants.csproj | 6 +----- .../Chapter10TwoDTransformations.csproj | 4 ---- .../Chapter11RendererSystems.csproj | 4 ---- .../Chapter12EulerHomogeneousCoords.csproj | 4 ---- .../Chapter13ProjectionMatrices.csproj | 4 ---- .../Chapter14CameraViewTransform.csproj | 4 ---- .../Chapter15GameLoopUserInput.csproj | 4 ---- .../Chapter16IndexStagingBuffers.csproj | 4 ---- .../Chapter17Loading3DModels.csproj | 4 ---- .../Chapter18DiffuseShading/Chapter18DiffuseShading.csproj | 4 ---- .../Chapter19UniformBuffers/Chapter19UniformBuffers.csproj | 4 ---- .../Chapter19zNoCoherentAomSizeFix.csproj | 4 ---- .../Chapter20DescriptorSets/Chapter20DescriptorSets.csproj | 4 ---- .../Chapter20aDescriptorSetsNoBuilder.csproj | 4 ---- Source/Chapter21PointLights/Chapter21PointLights.csproj | 4 ---- .../Chapter22FragmentLighting.csproj | 4 ---- Source/Chapter24Billboards/Chapter24Billboards.csproj | 4 ---- .../Chapter25MultiplePointLights.csproj | 4 ---- .../Chapter26SpecularLighting.csproj | 4 ---- Source/Chapter27AlphaBlending/Chapter27AlphaBlending.csproj | 4 ---- Source/Directory.Build.props | 5 +++++ Source/Sandbox01MultiSampling/Sandbox01MultiSampling.csproj | 4 ---- Source/Sandbox02ImGui/Sandbox02ImGui.csproj | 4 ---- Source/Sandbox03MeshShaders/Sandbox03MeshShaders.csproj | 1 - 31 files changed, 7 insertions(+), 118 deletions(-) create mode 100644 Source/Directory.Build.props diff --git a/Source/Chapter02Shaders/Chapter02Shaders.csproj b/Source/Chapter02Shaders/Chapter02Shaders.csproj index 2edd9be..8c41b5f 100644 --- a/Source/Chapter02Shaders/Chapter02Shaders.csproj +++ b/Source/Chapter02Shaders/Chapter02Shaders.csproj @@ -13,9 +13,6 @@ - - C:\VulkanSDK\1.3.239.0\Bin - diff --git a/Source/Chapter03PipelineSetup/Chapter03PipelineSetup.csproj b/Source/Chapter03PipelineSetup/Chapter03PipelineSetup.csproj index e5f963c..150c3d1 100644 --- a/Source/Chapter03PipelineSetup/Chapter03PipelineSetup.csproj +++ b/Source/Chapter03PipelineSetup/Chapter03PipelineSetup.csproj @@ -14,10 +14,6 @@ - - C:\VulkanSDK\1.3.239.0\Bin - - diff --git a/Source/Chapter04PipelineStages/Chapter04PipelineStages.csproj b/Source/Chapter04PipelineStages/Chapter04PipelineStages.csproj index e5f963c..150c3d1 100644 --- a/Source/Chapter04PipelineStages/Chapter04PipelineStages.csproj +++ b/Source/Chapter04PipelineStages/Chapter04PipelineStages.csproj @@ -14,10 +14,6 @@ - - C:\VulkanSDK\1.3.239.0\Bin - - diff --git a/Source/Chapter05SwapChain/Chapter05PipelineStages.csproj b/Source/Chapter05SwapChain/Chapter05PipelineStages.csproj index 985dd31..88d52b9 100644 --- a/Source/Chapter05SwapChain/Chapter05PipelineStages.csproj +++ b/Source/Chapter05SwapChain/Chapter05PipelineStages.csproj @@ -14,11 +14,7 @@ - - - C:\VulkanSDK\1.3.239.0\Bin - - + diff --git a/Source/Chapter06VertexBuffers/Chapter06VertextBuffers.csproj b/Source/Chapter06VertexBuffers/Chapter06VertextBuffers.csproj index 985dd31..2b326b6 100644 --- a/Source/Chapter06VertexBuffers/Chapter06VertextBuffers.csproj +++ b/Source/Chapter06VertexBuffers/Chapter06VertextBuffers.csproj @@ -15,10 +15,6 @@ - - C:\VulkanSDK\1.3.239.0\Bin - - diff --git a/Source/Chapter07FragmentInterpolation/Chapter07FragmentInterpolation.csproj b/Source/Chapter07FragmentInterpolation/Chapter07FragmentInterpolation.csproj index 985dd31..2b326b6 100644 --- a/Source/Chapter07FragmentInterpolation/Chapter07FragmentInterpolation.csproj +++ b/Source/Chapter07FragmentInterpolation/Chapter07FragmentInterpolation.csproj @@ -15,10 +15,6 @@ - - C:\VulkanSDK\1.3.239.0\Bin - - diff --git a/Source/Chapter08DynamicViewports/Chapter08DynamicViewports.csproj b/Source/Chapter08DynamicViewports/Chapter08DynamicViewports.csproj index 985dd31..2b326b6 100644 --- a/Source/Chapter08DynamicViewports/Chapter08DynamicViewports.csproj +++ b/Source/Chapter08DynamicViewports/Chapter08DynamicViewports.csproj @@ -15,10 +15,6 @@ - - C:\VulkanSDK\1.3.239.0\Bin - - diff --git a/Source/Chapter09PushConstants/Chapter09PushConstants.csproj b/Source/Chapter09PushConstants/Chapter09PushConstants.csproj index 985dd31..88d52b9 100644 --- a/Source/Chapter09PushConstants/Chapter09PushConstants.csproj +++ b/Source/Chapter09PushConstants/Chapter09PushConstants.csproj @@ -14,11 +14,7 @@ - - - C:\VulkanSDK\1.3.239.0\Bin - - + diff --git a/Source/Chapter10TwoDTransformations/Chapter10TwoDTransformations.csproj b/Source/Chapter10TwoDTransformations/Chapter10TwoDTransformations.csproj index 985dd31..2b326b6 100644 --- a/Source/Chapter10TwoDTransformations/Chapter10TwoDTransformations.csproj +++ b/Source/Chapter10TwoDTransformations/Chapter10TwoDTransformations.csproj @@ -15,10 +15,6 @@ - - C:\VulkanSDK\1.3.239.0\Bin - - diff --git a/Source/Chapter11RendererSystems/Chapter11RendererSystems.csproj b/Source/Chapter11RendererSystems/Chapter11RendererSystems.csproj index 985dd31..2b326b6 100644 --- a/Source/Chapter11RendererSystems/Chapter11RendererSystems.csproj +++ b/Source/Chapter11RendererSystems/Chapter11RendererSystems.csproj @@ -15,10 +15,6 @@ - - C:\VulkanSDK\1.3.239.0\Bin - - diff --git a/Source/Chapter12EulerHomogeneousCoords/Chapter12EulerHomogeneousCoords.csproj b/Source/Chapter12EulerHomogeneousCoords/Chapter12EulerHomogeneousCoords.csproj index 985dd31..2b326b6 100644 --- a/Source/Chapter12EulerHomogeneousCoords/Chapter12EulerHomogeneousCoords.csproj +++ b/Source/Chapter12EulerHomogeneousCoords/Chapter12EulerHomogeneousCoords.csproj @@ -15,10 +15,6 @@ - - C:\VulkanSDK\1.3.239.0\Bin - - diff --git a/Source/Chapter13ProjectionMatrices/Chapter13ProjectionMatrices.csproj b/Source/Chapter13ProjectionMatrices/Chapter13ProjectionMatrices.csproj index 985dd31..2b326b6 100644 --- a/Source/Chapter13ProjectionMatrices/Chapter13ProjectionMatrices.csproj +++ b/Source/Chapter13ProjectionMatrices/Chapter13ProjectionMatrices.csproj @@ -15,10 +15,6 @@ - - C:\VulkanSDK\1.3.239.0\Bin - - diff --git a/Source/Chapter14CameraViewTransform/Chapter14CameraViewTransform.csproj b/Source/Chapter14CameraViewTransform/Chapter14CameraViewTransform.csproj index 985dd31..2b326b6 100644 --- a/Source/Chapter14CameraViewTransform/Chapter14CameraViewTransform.csproj +++ b/Source/Chapter14CameraViewTransform/Chapter14CameraViewTransform.csproj @@ -15,10 +15,6 @@ - - C:\VulkanSDK\1.3.239.0\Bin - - diff --git a/Source/Chapter15GameLoopUserInput/Chapter15GameLoopUserInput.csproj b/Source/Chapter15GameLoopUserInput/Chapter15GameLoopUserInput.csproj index 985dd31..2b326b6 100644 --- a/Source/Chapter15GameLoopUserInput/Chapter15GameLoopUserInput.csproj +++ b/Source/Chapter15GameLoopUserInput/Chapter15GameLoopUserInput.csproj @@ -15,10 +15,6 @@ - - C:\VulkanSDK\1.3.239.0\Bin - - diff --git a/Source/Chapter16IndexStagingBuffers/Chapter16IndexStagingBuffers.csproj b/Source/Chapter16IndexStagingBuffers/Chapter16IndexStagingBuffers.csproj index 2f36e1f..c0d6103 100644 --- a/Source/Chapter16IndexStagingBuffers/Chapter16IndexStagingBuffers.csproj +++ b/Source/Chapter16IndexStagingBuffers/Chapter16IndexStagingBuffers.csproj @@ -15,10 +15,6 @@ - - C:\VulkanSDK\1.3.239.0\Bin - - diff --git a/Source/Chapter17Loading3DModels/Chapter17Loading3DModels.csproj b/Source/Chapter17Loading3DModels/Chapter17Loading3DModels.csproj index e8cee83..752972f 100644 --- a/Source/Chapter17Loading3DModels/Chapter17Loading3DModels.csproj +++ b/Source/Chapter17Loading3DModels/Chapter17Loading3DModels.csproj @@ -16,10 +16,6 @@ - - C:\VulkanSDK\1.3.239.0\Bin - - diff --git a/Source/Chapter18DiffuseShading/Chapter18DiffuseShading.csproj b/Source/Chapter18DiffuseShading/Chapter18DiffuseShading.csproj index e8cee83..752972f 100644 --- a/Source/Chapter18DiffuseShading/Chapter18DiffuseShading.csproj +++ b/Source/Chapter18DiffuseShading/Chapter18DiffuseShading.csproj @@ -16,10 +16,6 @@ - - C:\VulkanSDK\1.3.239.0\Bin - - diff --git a/Source/Chapter19UniformBuffers/Chapter19UniformBuffers.csproj b/Source/Chapter19UniformBuffers/Chapter19UniformBuffers.csproj index e8cee83..752972f 100644 --- a/Source/Chapter19UniformBuffers/Chapter19UniformBuffers.csproj +++ b/Source/Chapter19UniformBuffers/Chapter19UniformBuffers.csproj @@ -16,10 +16,6 @@ - - C:\VulkanSDK\1.3.239.0\Bin - - diff --git a/Source/Chapter19zNoCoherentAomSizeFix/Chapter19zNoCoherentAomSizeFix.csproj b/Source/Chapter19zNoCoherentAomSizeFix/Chapter19zNoCoherentAomSizeFix.csproj index e8cee83..752972f 100644 --- a/Source/Chapter19zNoCoherentAomSizeFix/Chapter19zNoCoherentAomSizeFix.csproj +++ b/Source/Chapter19zNoCoherentAomSizeFix/Chapter19zNoCoherentAomSizeFix.csproj @@ -16,10 +16,6 @@ - - C:\VulkanSDK\1.3.239.0\Bin - - diff --git a/Source/Chapter20DescriptorSets/Chapter20DescriptorSets.csproj b/Source/Chapter20DescriptorSets/Chapter20DescriptorSets.csproj index e8cee83..752972f 100644 --- a/Source/Chapter20DescriptorSets/Chapter20DescriptorSets.csproj +++ b/Source/Chapter20DescriptorSets/Chapter20DescriptorSets.csproj @@ -16,10 +16,6 @@ - - C:\VulkanSDK\1.3.239.0\Bin - - diff --git a/Source/Chapter20aDescriptorSetsNoBuilder/Chapter20aDescriptorSetsNoBuilder.csproj b/Source/Chapter20aDescriptorSetsNoBuilder/Chapter20aDescriptorSetsNoBuilder.csproj index e8cee83..752972f 100644 --- a/Source/Chapter20aDescriptorSetsNoBuilder/Chapter20aDescriptorSetsNoBuilder.csproj +++ b/Source/Chapter20aDescriptorSetsNoBuilder/Chapter20aDescriptorSetsNoBuilder.csproj @@ -16,10 +16,6 @@ - - C:\VulkanSDK\1.3.239.0\Bin - - diff --git a/Source/Chapter21PointLights/Chapter21PointLights.csproj b/Source/Chapter21PointLights/Chapter21PointLights.csproj index e8cee83..752972f 100644 --- a/Source/Chapter21PointLights/Chapter21PointLights.csproj +++ b/Source/Chapter21PointLights/Chapter21PointLights.csproj @@ -16,10 +16,6 @@ - - C:\VulkanSDK\1.3.239.0\Bin - - diff --git a/Source/Chapter22FragmentLighting/Chapter22FragmentLighting.csproj b/Source/Chapter22FragmentLighting/Chapter22FragmentLighting.csproj index e8cee83..752972f 100644 --- a/Source/Chapter22FragmentLighting/Chapter22FragmentLighting.csproj +++ b/Source/Chapter22FragmentLighting/Chapter22FragmentLighting.csproj @@ -16,10 +16,6 @@ - - C:\VulkanSDK\1.3.239.0\Bin - - diff --git a/Source/Chapter24Billboards/Chapter24Billboards.csproj b/Source/Chapter24Billboards/Chapter24Billboards.csproj index e8cee83..752972f 100644 --- a/Source/Chapter24Billboards/Chapter24Billboards.csproj +++ b/Source/Chapter24Billboards/Chapter24Billboards.csproj @@ -16,10 +16,6 @@ - - C:\VulkanSDK\1.3.239.0\Bin - - diff --git a/Source/Chapter25MultiplePointLights/Chapter25MultiplePointLights.csproj b/Source/Chapter25MultiplePointLights/Chapter25MultiplePointLights.csproj index e8cee83..752972f 100644 --- a/Source/Chapter25MultiplePointLights/Chapter25MultiplePointLights.csproj +++ b/Source/Chapter25MultiplePointLights/Chapter25MultiplePointLights.csproj @@ -16,10 +16,6 @@ - - C:\VulkanSDK\1.3.239.0\Bin - - diff --git a/Source/Chapter26SpecularLighting/Chapter26SpecularLighting.csproj b/Source/Chapter26SpecularLighting/Chapter26SpecularLighting.csproj index e8cee83..752972f 100644 --- a/Source/Chapter26SpecularLighting/Chapter26SpecularLighting.csproj +++ b/Source/Chapter26SpecularLighting/Chapter26SpecularLighting.csproj @@ -16,10 +16,6 @@ - - C:\VulkanSDK\1.3.239.0\Bin - - diff --git a/Source/Chapter27AlphaBlending/Chapter27AlphaBlending.csproj b/Source/Chapter27AlphaBlending/Chapter27AlphaBlending.csproj index e8cee83..752972f 100644 --- a/Source/Chapter27AlphaBlending/Chapter27AlphaBlending.csproj +++ b/Source/Chapter27AlphaBlending/Chapter27AlphaBlending.csproj @@ -16,10 +16,6 @@ - - C:\VulkanSDK\1.3.239.0\Bin - - diff --git a/Source/Directory.Build.props b/Source/Directory.Build.props new file mode 100644 index 0000000..7a155b7 --- /dev/null +++ b/Source/Directory.Build.props @@ -0,0 +1,5 @@ + + + C:\VulkanSDK\1.4.304.0\Bin + + \ No newline at end of file diff --git a/Source/Sandbox01MultiSampling/Sandbox01MultiSampling.csproj b/Source/Sandbox01MultiSampling/Sandbox01MultiSampling.csproj index e8cee83..752972f 100644 --- a/Source/Sandbox01MultiSampling/Sandbox01MultiSampling.csproj +++ b/Source/Sandbox01MultiSampling/Sandbox01MultiSampling.csproj @@ -16,10 +16,6 @@ - - C:\VulkanSDK\1.3.239.0\Bin - - diff --git a/Source/Sandbox02ImGui/Sandbox02ImGui.csproj b/Source/Sandbox02ImGui/Sandbox02ImGui.csproj index 1eb6b94..c56934f 100644 --- a/Source/Sandbox02ImGui/Sandbox02ImGui.csproj +++ b/Source/Sandbox02ImGui/Sandbox02ImGui.csproj @@ -18,10 +18,6 @@ - - C:\VulkanSDK\1.3.239.0\Bin - -