How to Build
macOS
Use the provided Makefile or directly:
clang++ -std=c++11 -ObjC++ -fobjc-arc -I ../.. -I ../../backends \
main.mm ../../backends/imgui_impl_osx.mm ../../backends/imgui_impl_cpu.cpp ../../imgui*.cpp \
-framework Cocoa -framework GameController \
-o example_apple_cpu
This example uses Cocoa + imgui_impl_osx for windowing/input and imgui_impl_cpu for rendering.
It renders to a native BGRA CPU framebuffer and does not use SDL.