mirror of
https://github.com/Drezil/imgui.git
synced 2024-11-15 17:37:00 +00:00
813e0c18e6
# Conflicts: # docs/CHANGELOG.txt # examples/imgui_impl_dx10.cpp # examples/imgui_impl_dx10.h # examples/imgui_impl_dx11.cpp # examples/imgui_impl_dx11.h # examples/imgui_impl_dx12.cpp # examples/imgui_impl_dx12.h # examples/imgui_impl_dx9.cpp # examples/imgui_impl_dx9.h # examples/imgui_impl_metal.h # examples/imgui_impl_metal.mm # examples/imgui_impl_opengl3.cpp # examples/imgui_impl_opengl3.h # examples/imgui_impl_vulkan.cpp # imgui.cpp # imgui.h # imgui_internal.h |
||
---|---|---|
.. | ||
main.cpp | ||
Makefile | ||
README.md | ||
shell_minimal.html |
How to Build
-
You need to install Emscripten from https://emscripten.org/docs/getting_started/downloads.html, and have the environment variables set, as described in https://emscripten.org/docs/getting_started/downloads.html#installation-instructions
-
Depending on your configuration, in Windows you may need to run
emsdk/emsdk_env.bat
in your console to access the Emscripten command-line tools. -
Then build using
make
while in theexample_emscripten/
directory. -
Note that Emscripten 1.39.0 (October 2019) obsoleted the
BINARYEN_TRAP_MODE=clamp
compilation flag which was required with version older than 1.39.0 to avoid rendering artefacts. See #2877 for details. If you use an older version, uncomment this line in the Makefile:
#EMS += -s BINARYEN_TRAP_MODE=clamp