2025-12-17 16:37:21 -08:00
2025-09-24 15:21:48 -07:00
2025-12-17 16:37:21 -08:00
2025-09-20 16:12:13 -07:00
2025-12-15 20:29:48 -08:00
2025-12-15 20:20:04 -08:00
2025-09-20 16:11:27 -07:00
2025-12-17 16:37:21 -08:00
2025-12-17 03:10:58 -08:00

Lean SDL3 Bindings

How to use: Add this library as a dependency in your lakefile.lean (Not .toml)

In your default target in your project, make sure you do something like this

@[default_target]
lean_exe «lean-sdl-test» where
  root := `Main
  -- this is necessary because on Linux, binaries don't automatically get picked up by the executable unless you set the rpath
  -- also, moreLinkArgs doesn't get inherited by the parent project
  moreLinkArgs := if !System.Platform.isWindows then #["-Wl,--allow-shlib-undefined", "-Wl,-rpath=$ORIGIN"] else #[]

If you want to see an example project that uses these bindings, check this out:

https://github.com/ValorZard/lean-sdl-test

Acknowledgements

MASSIVE thanks to Oliver Dressler (@oOo0oOo) and Mac Malone (@tydeu) for all the help they gave!

License & Attribution

MIT

S
Description
No description provided
Readme MIT
4.1 MiB
Languages
C 49.9%
Lean 47.5%
Just 2.6%