Files
odin-sdl3-static-linking/README.md
2025-12-15 12:37:50 -05:00

533 B

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 and building it with cmake -B build -DCMAKE_BUILD_TYPE=RelWithDebInfo -DSDL_STATIC=ON && cmake --build build, then copying out the static archive.