cpu start

This commit is contained in:
moonpower
2026-03-15 12:33:32 +01:00
parent af86719c5a
commit 31c2e522f5
21 changed files with 3571 additions and 1 deletions
+14
View File
@@ -0,0 +1,14 @@
# How to Build
## macOS
Use the provided `Makefile` or directly:
```sh
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.