summaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig18
1 files changed, 18 insertions, 0 deletions
diff --git a/build.zig b/build.zig
index ee2a6ec..694d887 100644
--- a/build.zig
+++ b/build.zig
@@ -491,6 +491,24 @@ pub fn build(b: *std.Build) void {
491 properties.addAnonymousImport("props", .{ .root_source_file = props_gen_out }); 491 properties.addAnonymousImport("props", .{ .root_source_file = props_gen_out });
492 properties.addAnonymousImport("numeric", .{ .root_source_file = num_gen_out }); 492 properties.addAnonymousImport("numeric", .{ .root_source_file = num_gen_out });
493 493
494 const zg_module = b.addModule("zg", .{
495 .root_source_file = b.path("src/zg.zig"),
496 .target = target,
497 .optimize = optimize,
498 });
499 zg_module.addImport("ascii", ascii);
500 zg_module.addImport("CaseFolding", case_fold);
501 zg_module.addImport("code_point", code_point);
502 zg_module.addImport("DisplawWidth", display_width);
503 zg_module.addImport("Emoji", emoji);
504 zg_module.addImport("GeneralCategories", gencat);
505 zg_module.addImport("Graphemes", graphemes);
506 zg_module.addImport("LetterCasing", letter_case);
507 zg_module.addImport("Normalize", norm);
508 zg_module.addImport("Properties", properties);
509 zg_module.addImport("Scripts", scripts);
510 zg_module.addImport("Words", words);
511
494 const properties_t = b.addTest(.{ 512 const properties_t = b.addTest(.{
495 .name = "properties", 513 .name = "properties",
496 .root_module = properties, 514 .root_module = properties,