media: add stbtt binding

This commit is contained in:
2026-09-13 02:02:59 +02:00
parent 70076f2268
commit ff87d58319
5 changed files with 5336 additions and 2 deletions

View File

@@ -17,8 +17,11 @@ pub fn build(b: *std.Build) void {
},
});
mod.addCSourceFile(.{
.file = b.path("src/stbi/stb_image.c"),
mod.addCSourceFiles(.{
.files = &.{
"src/stbi/stb_image.c",
"src/stbtt/stb_truetype.c",
},
.flags = &.{
"-std=c17",
"-Wall",