Working example

This commit is contained in:
2025-12-15 12:37:50 -05:00
commit 4ff4b04f06
165 changed files with 94256 additions and 0 deletions

3
README.md Normal file
View File

@@ -0,0 +1,3 @@
This is an example for how to statically link Odin's SDL3 vendor library on MacOS.
The `sdl3` folder comes directly from Odin's SDL3 vendor directory, with the `sdl3__foreign.odin` updated to point to the packaged libSDL3.a static archive. That archive was generated by pulling the [SDL source code](https://github.com/libsdl-org/SDL/releases/download/release-3.2.28/SDL3-3.2.28.zip) and building it with `cmake -B build -DCMAKE_BUILD_TYPE=RelWithDebInfo -DSDL_STATIC=ON && cmake --build build`, then copying out the static archive.