Fix windows build scripts
This commit is contained in:
parent
4d11ed1be7
commit
aee51e62e3
|
@ -27,7 +27,9 @@ set shaders=src/shaders/advect.glsl^
|
|||
src/shaders/subtract_pressure.glsl
|
||||
|
||||
call python3 ../../milepost/scripts/embed_text.py --prefix=glsl_ --output src/glsl_shaders.h %shaders%
|
||||
IF %ERRORLEVEL% NEQ 0 EXIT /B %ERRORLEVEL%
|
||||
|
||||
clang %wasmFlags% -o .\module.wasm ..\..\sdk\orca.c ..\..\cstdlib\src\*.c src\main.c
|
||||
IF %ERRORLEVEL% NEQ 0 EXIT /B %ERRORLEVEL%
|
||||
|
||||
python3 ..\..\scripts\mkapp.py --orca-dir ..\.. --icon icon.png --name Fluid module.wasm
|
||||
orca bundle --orca-dir ..\.. --icon icon.png --name Fluid module.wasm
|
||||
|
|
|
@ -13,5 +13,6 @@ set wasmFlags=--target=wasm32^
|
|||
-isystem ..\..\cstdlib\include -I ..\..\sdk -I..\..\milepost\ext -I ..\..\milepost -I ..\..\milepost\src
|
||||
|
||||
clang %wasmFlags% -o .\module.wasm ..\..\sdk\orca.c ..\..\cstdlib\src\*.c src\main.c
|
||||
IF %ERRORLEVEL% NEQ 0 EXIT /B %ERRORLEVEL%
|
||||
|
||||
python3 ..\..\scripts\mkapp.py --orca-dir ..\.. --name Triangle module.wasm
|
||||
orca bundle --orca-dir ..\.. --name Triangle module.wasm
|
||||
|
|
|
@ -13,5 +13,6 @@ set wasmFlags=--target=wasm32^
|
|||
-isystem ..\..\cstdlib\include -I ..\..\sdk -I..\..\milepost\ext -I ..\..\milepost -I ..\..\milepost\src
|
||||
|
||||
clang %wasmFlags% -o .\module.wasm ..\..\sdk\orca.c ..\..\cstdlib\src\*.c src\main.c
|
||||
IF %ERRORLEVEL% NEQ 0 EXIT /B %ERRORLEVEL%
|
||||
|
||||
orca bundle --orca-dir ..\.. --name Pong --icon icon.png --resource-dir data module.wasm
|
||||
|
|
|
@ -13,5 +13,6 @@ set wasmFlags=--target=wasm32^
|
|||
-isystem ..\..\cstdlib\include -I ..\..\sdk -I..\..\milepost\ext -I ..\..\milepost -I ..\..\milepost\src
|
||||
|
||||
clang %wasmFlags% -o .\module.wasm ..\..\sdk\orca.c ..\..\cstdlib\src\*.c src\main.c
|
||||
IF %ERRORLEVEL% NEQ 0 EXIT /B %ERRORLEVEL%
|
||||
|
||||
orca bundle --orca-dir ..\.. --name UI --resource-dir data module.wasm
|
||||
|
|
Loading…
Reference in New Issue