Skip to content

Commit

Permalink
Support whitespace in sdk-path for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
uzoochogu authored and martinfouilleul committed Oct 3, 2024
1 parent 29a5d0f commit 56864e4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion samples/breakout/build.bat
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@echo off
setlocal enabledelayedexpansion

for /f %%i in ('orca sdk-path') do set ORCA_DIR=%%i
for /f "delims=" %%i in ('"orca sdk-path"') do set ORCA_DIR="%%i"

:: common flags to build wasm modules
set wasmFlags=--target=wasm32^
Expand Down
2 changes: 1 addition & 1 deletion samples/clock/build.bat
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@echo off
setlocal enabledelayedexpansion

for /f %%i in ('orca sdk-path') do set ORCA_DIR=%%i
for /f "delims=" %%i in ('"orca sdk-path"') do set ORCA_DIR="%%i"

:: common flags to build wasm modules
set wasmFlags=--target=wasm32^
Expand Down
2 changes: 1 addition & 1 deletion samples/fluid/build.bat
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@echo off
setlocal enabledelayedexpansion

for /f %%i in ('orca sdk-path') do set ORCA_DIR=%%i
for /f "delims=" %%i in ('"orca sdk-path"') do set ORCA_DIR="%%i"

set shaders=src/shaders/advect.glsl^
src/shaders/blit_div_fragment.glsl^
Expand Down
2 changes: 1 addition & 1 deletion samples/triangle/build.bat
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@echo off
setlocal enabledelayedexpansion

for /f %%i in ('orca sdk-path') do set ORCA_DIR=%%i
for /f "delims=" %%i in ('"orca sdk-path"') do set ORCA_DIR="%%i"

:: common flags to build wasm modules
set wasmFlags=--target=wasm32^
Expand Down
2 changes: 1 addition & 1 deletion samples/ui/build.bat
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@echo off
setlocal enabledelayedexpansion

for /f %%i in ('orca sdk-path') do set ORCA_DIR=%%i
for /f "delims=" %%i in ('"orca sdk-path"') do set ORCA_DIR="%%i"

:: common flags to build wasm modules
set wasmFlags=--target=wasm32^
Expand Down

0 comments on commit 56864e4

Please sign in to comment.