Skip to content

Commit

Permalink
Merge branch 'libpcre-zon'
Browse files Browse the repository at this point in the history
  • Loading branch information
kivikakk committed May 14, 2024
2 parents 01c7680 + 3089970 commit 32671f5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ pub fn build(b: *std.Build) !void {

var deps = std.StringHashMap(*std.Build.Module).init(b.allocator);
const libpcre = b.addModule("libpcre", .{
.root_source_file = .{ .path = "vendor/libpcre.zig/src/main.zig" },
.root_source_file = b.path("vendor/libpcre.zig/src/main.zig"),
.target = target,
});
try linkPcre(b, libpcre);
try deps.put("libpcre", libpcre);
try deps.put("htmlentities", b.addModule("htmlentities", .{ .root_source_file = .{ .path = "vendor/htmlentities.zig/src/main.zig" } }));
try deps.put("clap", b.addModule("clap", .{ .root_source_file = .{ .path = "vendor/zig-clap/clap.zig" } }));
try deps.put("zunicode", b.addModule("zunicode", .{ .root_source_file = .{ .path = "vendor/zunicode/src/zunicode.zig" } }));
try deps.put("htmlentities", b.addModule("htmlentities", .{ .root_source_file = b.path("vendor/htmlentities.zig/src/main.zig") }));
try deps.put("clap", b.addModule("clap", .{ .root_source_file = b.path("vendor/zig-clap/clap.zig") }));
try deps.put("zunicode", b.addModule("zunicode", .{ .root_source_file = b.path("vendor/zunicode/src/zunicode.zig") }));

const exe = b.addExecutable(.{
.name = "koino",
.root_source_file = .{ .path = "src/main.zig" },
.root_source_file = b.path("src/main.zig"),
.target = target,
.optimize = optimize,
});
Expand All @@ -36,7 +36,7 @@ pub fn build(b: *std.Build) !void {

const test_exe = b.addTest(.{
.name = "test",
.root_source_file = .{ .path = "src/main.zig" },
.root_source_file = b.path("src/main.zig"),
.target = target,
.optimize = optimize,
});
Expand Down
2 changes: 1 addition & 1 deletion vendor/libpcre.zig
Submodule libpcre.zig updated 3 files
+15 −1 README.md
+7 −4 build.zig
+14 −0 build.zig.zon

0 comments on commit 32671f5

Please sign in to comment.