mach/libs/gamemode/build.zig
2022-09-26 19:57:46 -07:00

14 lines
351 B
Zig

const std = @import("std");
pub const pkg = std.build.Pkg{
.name = "gamemode",
.source = .{ .path = thisDir() ++ "/gamemode.zig" },
};
pub fn link(step: *std.build.LibExeObjStep) void {
step.addIncludePath(comptime thisDir() ++ "/upstream/include");
}
fn thisDir() []const u8 {
return std.fs.path.dirname(@src().file) orelse ".";
}