I want to use SDL on my project. Andrew has this repo where a build.zig is setup to compile SDL from source into an static library: https://github.com/andrewrk/SDL/blob/main/build.zig
I would like to turn this build.zig into a module so that I can have another build.zig I have dependency on it, e.g. call something like exe.addModule("sdl", sdl.module("sdl")). I followed this post: https://github.com/beachglasslabs/duckdb.zig/blob/main/build.zig
The thing is, in https://github.com/ziglang/zig/blob/master/build.zig I only see that the module is created, but nothing uses the module in the build.zig. Maybe someone could give me some advice or show me some example of how I might do this. Thanks!
SDL with the build system replaced by Zig. Contribute to andrewrk/SDL development by creating an account on GitHub.
A thin layer for duckdb in zig. Contribute to beachglasslabs/duckdb.zig development by creating an account on GitHub.