Started on zig-unquashfs

This commit is contained in:
Caleb Gardner
2025-05-21 20:49:13 -05:00
parent e91d75458e
commit 213dfa8b92
3 changed files with 58 additions and 30 deletions
+11
View File
@@ -14,6 +14,17 @@ pub fn build(b: *std.Build) void {
.root_module = lib_mod,
});
b.installArtifact(lib);
const exe_mod = b.createModule(.{
.root_source_file = b.path("src/main.zig"),
.target = target,
.optimize = optimize,
});
const exe = b.addExecutable(.{
.linkage = .static,
.name = "unsquashfs",
.root_module = exe_mod,
});
b.installArtifact(exe);
const lib_unit_tests = b.addTest(.{
.root_module = lib_mod,
});