This is a fork of SDL2, packaged for Zig.
Unnecessary files have been deleted, and the build system has been replaced with build.zig.
For SDL3, consider:
Fetch SDL and add to your build.zig.zon :
zig fetch --save=SDL git+https://github.com/allyourcodebase/SDLAdd this to your build.zig :
const sdl_dep = b.dependency("SDL", .{
.optimize = .ReleaseFast,
.target = target,
});
exe.linkLibrary(sdl_dep.artifact("SDL2"));