diff options
| -rw-r--r-- | .gitmodules | 3 | ||||
| -rw-r--r-- | build.zig | 3 | ||||
| m--------- | deps/zigimg | 0 |
3 files changed, 6 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..63ed6e7 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "deps/zigimg"] + path = deps/zigimg + url = https://github.com/zigimg/zigimg.git @@ -12,6 +12,9 @@ pub fn build(b: *std.build.Builder) void { const mode = b.standardReleaseOptions(); const exe = b.addExecutable("RayTracingInOneWeekend", "src/main.zig"); + + exe.addPackagePath("zigimg", "deps/zigimg/zigimg.zig"); + exe.setTarget(target); exe.setBuildMode(mode); exe.install(); diff --git a/deps/zigimg b/deps/zigimg new file mode 160000 +Subproject 64d04a63814b54301182194dadccd1f28c91906 |
