flecs_tests/debug.sh

19 lines
435 B
Bash

xxd -i src/shaders/sprite.wgsl src/generated/sprite.h
emcc src/main.c \
../cimgui/cimgui.cpp \
../cimgui/imgui.cpp \
../cimgui/imgui_draw.cpp \
../cimgui/imgui_tables.cpp \
../cimgui/imgui_widgets.cpp \
-o app.html \
-sUSE_WEBGPU \
-sASSERTIONS \
-sWASM_BIGINT \
-sALLOW_MEMORY_GROWTH \
-I../sokol \
-I../sokol_gp \
-I../cimgui \
-I../flecs/distr \
-msimd128 \
--shell-file=shell.html \
-sFILESYSTEM=0