14 lines
351 B
Zig
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 ".";
|
|
}
|