new build

This commit is contained in:
Vicente Ferrari Smith 2026-01-21 00:01:36 +01:00
parent 9972fba20f
commit 2ee0eb030e

View File

@ -94,9 +94,9 @@ pub fn build(b: *std.Build) void {
client.root_module.addImport("freetype", freetype_module); client.root_module.addImport("freetype", freetype_module);
client.root_module.addCSourceFile(.{ .file = b.path("src/kb/kb_text_shape.h"), .language = .c, .flags = &.{"-DKB_TEXT_SHAPE_IMPLEMENTATION"} }); client.root_module.addCSourceFile(.{ .file = b.path("vendor/kb_text_shape/kb_text_shape.h"), .language = .c, .flags = &.{"-DKB_TEXT_SHAPE_IMPLEMENTATION"} });
const kb_text_shape = b.addTranslateC(.{ const kb_text_shape = b.addTranslateC(.{
.root_source_file = b.path("src/kb/kb_text_shape.h"), .root_source_file = b.path("vendor/kb_text_shape/kb_text_shape.h"),
.target = target, .target = target,
.optimize = optimize, .optimize = optimize,
}); });