Skip to content

Commit

Permalink
update windows build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
martinfouilleul committed Mar 10, 2024
1 parent c564771 commit 026d574
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
Expand Up @@ -15,7 +15,7 @@ set wasmFlags=--target=wasm32^
-I%ORCA_DIR%/src/ext

:: build sample as wasm module and link it with the orca module
clang %wasmFlags% -L %ORCA_DIR%/build/bin -lorca_wasm -o module.wasm src/main.c
clang %wasmFlags% -L %ORCA_DIR%/bin -lorca_wasm -o module.wasm src/main.c
IF %ERRORLEVEL% NEQ 0 EXIT /B %ERRORLEVEL%

:: create app directory and copy files into it
Expand Down
2 changes: 1 addition & 1 deletion samples/clock/build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ set wasmFlags=--target=wasm32^
-I%ORCA_DIR%/src/ext

:: build sample as wasm module and link it with the orca module
clang %wasmFlags% -L %ORCA_DIR%/build/bin -lorca_wasm -o module.wasm src/main.c
clang %wasmFlags% -L %ORCA_DIR%/bin -lorca_wasm -o module.wasm src/main.c
IF %ERRORLEVEL% NEQ 0 EXIT /B %ERRORLEVEL%

:: create app directory and copy files into it
Expand Down
2 changes: 1 addition & 1 deletion samples/fluid/build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ set wasmFlags=--target=wasm32^
-I%ORCA_DIR%/src/ext

:: build sample as wasm module and link it with the orca module
clang %wasmFlags% -L %ORCA_DIR%/build/bin -lorca_wasm -o module.wasm src/main.c
clang %wasmFlags% -L %ORCA_DIR%/bin -lorca_wasm -o module.wasm src/main.c
IF %ERRORLEVEL% NEQ 0 EXIT /B %ERRORLEVEL%

orca bundle --name Fluid --icon icon.png module.wasm
2 changes: 1 addition & 1 deletion samples/triangle/build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ set wasmFlags=--target=wasm32^
-I%ORCA_DIR%/src/ext

:: build sample as wasm module and link it with the orca module
clang %wasmFlags% -L %ORCA_DIR%/build/bin -lorca_wasm -o module.wasm src/main.c
clang %wasmFlags% -L %ORCA_DIR%/bin -lorca_wasm -o module.wasm src/main.c
IF %ERRORLEVEL% NEQ 0 EXIT /B %ERRORLEVEL%

:: create app directory and copy files into it
Expand Down
2 changes: 1 addition & 1 deletion samples/ui/build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ set wasmFlags=--target=wasm32^
-I%ORCA_DIR%/src/ext

:: build sample as wasm module and link it with the orca module
clang %wasmFlags% -L %ORCA_DIR%/build/bin -lorca_wasm -o module.wasm src/main.c
clang %wasmFlags% -L %ORCA_DIR%/bin -lorca_wasm -o module.wasm src/main.c
IF %ERRORLEVEL% NEQ 0 EXIT /B %ERRORLEVEL%

:: create app directory and copy files into it
Expand Down

0 comments on commit 026d574

Please sign in to comment.