19 lines
445 B
Zig
19 lines
445 B
Zig
const std = @import("std");
|
|
|
|
pub fn build(b: *std.Build) void {
|
|
const target = b.standardTargetOptions(.{});
|
|
const optimize = b.standardOptimizeOption(.{});
|
|
|
|
const exe = b.addExecutable(.{
|
|
.name = "crun",
|
|
.target = target,
|
|
.optimize = optimize,
|
|
});
|
|
|
|
exe.addCSourceFile(.{ .file = b.path("main.c"), .flags = &.{} });
|
|
exe.linkSystemLibrary("zmq");
|
|
exe.linkLibC();
|
|
|
|
b.installArtifact(exe);
|
|
}
|