Skip to content

Commit

Permalink
feat: add phy run artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
FrothyMarrow committed May 21, 2024
1 parent 2baa853 commit 474d72b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,12 @@ pub fn build(b: *std.Build) void {
"vector.c",
},
});

phy.linkSystemLibrary("glfw");
phy.linkFramework("OpenGL");

b.installArtifact(phy);

const phy_run = b.addRunArtifact(phy);
const run_step = b.step("run", "Run the phy binary");
run_step.dependOn(&phy_run.step);
}

0 comments on commit 474d72b

Please sign in to comment.