new build
This commit is contained in:
parent
9972fba20f
commit
2ee0eb030e
@ -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,
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user