Zigistry
  • Packages
  • Programs
  • Statistics
  • Apps
  • API
  • About
  • Help
  • Star
© 2024Rohan Vashisht
  • About
  • Help
  • GitHub
misshodSDL

castholm/SDL

NOASSERTION

SDL ported to the Zig build system

0000
4
sdl,sdl3,zig,zig-package
 
build.zig.zonbuild.zigfork
View package on GitHub

SDL ported to the Zig build system

This is a port of SDL 3.0 to the Zig build system, packaged for the Zig package manager.

Usage

zig fetch --save git+https://github.com/castholm/SDL.git
const sdl_dep = b.dependency("sdl", .{
    .target = target,
    .optimize = optimize,
    //.preferred_link_mode = .static, // or .dynamic
});
const sdl_lib = sdl_dep.artifact("SDL3");
const sdl_test_lib = sdl_dep.artifact("SDL3_test");

License

This repository is REUSE-compliant. The effective SPDX license expression for the repository as a whole is:

(BSD-3-Clause OR GPL-3.0 OR HIDAPI) AND Apache-2.0 AND BSD-3-Clause AND CC0-1.0 AND HIDAPI AND HPND-sell-variant AND MIT AND SunPro AND Zlib

Copyright notices and license texts have been reproduced in LICENSE.txt, for your convenience.

sdl_linux_deps