diff options
| author | Nic Gaffney <gaffney_nic@protonmail.com> | 2024-06-20 00:44:24 -0500 |
|---|---|---|
| committer | Nic Gaffney <gaffney_nic@protonmail.com> | 2024-06-20 00:44:24 -0500 |
| commit | 0dc97d45f1b228f6f3b9feb1773b972eca343766 (patch) | |
| tree | 3d133ce030dbd23632759edb31ab4c1878d20517 /build.zig | |
| parent | 2374e1f1a11d62ee579d25a39b24312a68e7387e (diff) | |
| download | particle-sim-0dc97d45f1b228f6f3b9feb1773b972eca343766.tar.gz | |
Added load / save feature with simple CSV parsing
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6,7 +6,7 @@ pub fn build(b: *std.Build) !void { const exe = b.addExecutable(.{ .name = "particle-sim", - .root_source_file = .{ .path = "src/main.zig" }, + .root_source_file = b.path("src/main.zig"), .target = target, .optimize = optimize, }); @@ -27,7 +27,7 @@ pub fn build(b: *std.Build) !void { }); exe.root_module.addImport("zgui", zgui.module("root")); exe.linkLibrary(zgui.artifact("imgui")); - exe.addIncludePath(.{ .path = "vendor/zgui/libs/imgui" }); + exe.addIncludePath(b.path("vendor/zgui/libs/imgui")); const rlimgui = b.dependency("rlimgui", .{ .target = target, |
