build.zig (327B)
1 const std = @import("std"); 2 const Build = std.Build; 3 4 pub fn build(b: *Build) !void { 5 const pixman = b.dependency("pixman", .{}).module("pixman"); 6 _ = b.addModule("fcft", .{ 7 .root_source_file = b.path("fcft.zig"), 8 .imports = &.{ 9 .{ .name = "pixman", .module = pixman }, 10 }, 11 }); 12 }