Minimal imgui/WebAssembly/WebGL boilerplate, using CMake to build.
Make sure you have cmake and emscripten installed.
mkdir build;
cd build;
emcmake cmake ..;
make;
Make sure you've installed SDL2 on your system (for example, via brew install sdl2
).
mkdir build;
cd build;
cmake .. -GXcode;
# ...open the generated xcode project...