gamemode: update to latest Zig build API
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
b6f41b3fb0
commit
ddb728d74d
1 changed files with 6 additions and 5 deletions
|
|
@ -1,11 +1,12 @@
|
|||
const std = @import("std");
|
||||
|
||||
pub const pkg = std.build.Pkg{
|
||||
.name = "gamemode",
|
||||
.source = .{ .path = sdkPath("/src/main.zig") },
|
||||
};
|
||||
pub fn module(b: *std.Build) *std.build.Module {
|
||||
return b.createModule(.{
|
||||
.source_file = .{ .path = sdkPath("/src/main.zig") },
|
||||
});
|
||||
}
|
||||
|
||||
pub fn link(step: *std.build.LibExeObjStep) void {
|
||||
pub fn link(step: *std.build.CompileStep) void {
|
||||
step.addIncludePath(sdkPath("/upstream/include"));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue