zhobo63 / imgui-ts

JavaScript bindings for Dear ImGui using Emscripten and TypeScript, modularized with webpack
MIT License
32 stars 6 forks source link

how to make into the main.s in www #3

Closed huison-cao closed 1 year ago

huison-cao commented 2 years ago

What .c code compiled into main. js in www directory? How to compile?

zhobo63 commented 1 year ago

you need to use emscripten to compile .cpp in imgui/embind/makefile. and we got bind-imgui.js then use npm run webpack to compile all ts in main.js