From 2c3814383455e8557dc0c2c9cd33be81e61e1ab6 Mon Sep 17 00:00:00 2001 From: Austin Almond Date: Fri, 25 Apr 2025 17:36:29 -0400 Subject: [PATCH] GDK: Handle ProjectDir with space The call to compile_shaders_xbox.bat fails if ProjectDir contains a space. Wrapping the command in quotes fixes the issue. (cherry picked from commit 14ae45c2b8de253825677083eb2ba7b63a5c6151) --- VisualC-GDK/SDL/SDL.vcxproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/VisualC-GDK/SDL/SDL.vcxproj b/VisualC-GDK/SDL/SDL.vcxproj index 5bf000436f..96ca804c49 100644 --- a/VisualC-GDK/SDL/SDL.vcxproj +++ b/VisualC-GDK/SDL/SDL.vcxproj @@ -168,8 +168,8 @@ - call $(ProjectDir)..\..\src\render\direct3d12\compile_shaders_xbox.bat $(ProjectDir)..\ - call $(ProjectDir)..\..\src\gpu\d3d12\compile_shaders_xbox.bat $(ProjectDir)..\ + call "$(ProjectDir)..\..\src\render\direct3d12\compile_shaders_xbox.bat" "$(ProjectDir)..\" + call "$(ProjectDir)..\..\src\gpu\d3d12\compile_shaders_xbox.bat" "$(ProjectDir)..\"