imgui_impl_glfw.cpp + imgui_impl_wgpu.cpp ( with examples/libs/emscripten/shell_minimal.html modifications )
Compiler, OS:
Linux + Emscripten
Full config/build information:
No response
Details:
Suggestion for builds with Emscripten to use Makefile linker flag: LDFLAGS += -sSINGLE_FILE which will result in single html file output (EXE = $(WEB_DIR)/index.html).
Goals of single output file:
no need for http server, file could be opened directly by Web browser;
no Web browser security restrictions for hardware use requests (serial port in my condition and should be the same for gamepad / usb / audio / camera / etc );
easy to redistribute.
Negative aspect:
output file is bigger then sum of all files of split build because of included binary files got converted to BASE64 format.
Version/Branch of Dear ImGui:
Version: any , Branch: any
Back-ends:
Compiler, OS:
Linux + Emscripten
Full config/build information:
No response
Details:
Suggestion for builds with Emscripten to use Makefile linker flag:
LDFLAGS += -sSINGLE_FILE
which will result in single html file output (EXE = $(WEB_DIR)/index.html
).Goals of single output file:
Negative aspect:
Screenshots/Video:
No response
Minimal, Complete and Verifiable Example code:
No response