Added note about running wasm but doesnt build

This commit is contained in:
nothke 2024-07-04 17:08:10 +02:00
parent 2a10ffc55c
commit f032509b12

View File

@ -10,6 +10,8 @@ The goal of this project is not fixed, and is just to try out some sokol feature
To build, you need to have zig master (you can use [zvm](https://www.zvm.app/) to help you with this). Then just `zig build run` and that should be it! To build, you need to have zig master (you can use [zvm](https://www.zvm.app/) to help you with this). Then just `zig build run` and that should be it!
To build for wasm, use `zig build -Dtarget=wasm32-emscripten run`
Note that if you change shaders, you have to recompile them manually - run compile_shaders.bat. Note that if you change shaders, you have to recompile them manually - run compile_shaders.bat.
### Live error checking ### Live error checking