An example of how to statically link Odin's SDL3 vendor library on MacOS.
- C 85.5%
- Odin 9%
- C++ 5.5%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| sdl3 | ||
| .gitignore | ||
| main.odin | ||
| README.md | ||
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.