genorg/genserve/build.zig
Pranshu Sharma a2426dee1c Added zig source as well
Why not, it was due for long time.  If you guys manage to find
exploits some how, please send than use them malciouly.
2025-05-14 23:02:20 +10:00

18 lines
500 B
Zig

const std = @import("std");
// zig fetch --save git+https://github.com/karlseguin/http.zig#master
pub fn build(b: *std.Build) void {
const exe = b.addExecutable(.{
.name = "genserve",
.root_source_file = b.path("src/main.zig"),
.target = b.graph.host,
});
const httpz = b.dependency("httpz", .{
.target = b.graph.host,
// .optimize = .standardOptimizeOption
});
exe.root_module.addImport("httpz", httpz.module("httpz"));
b.installArtifact(exe);
}