diff options
| author | nsfisis <nsfisis@gmail.com> | 2023-02-25 16:25:15 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2023-05-07 10:08:25 +0900 |
| commit | 941e50328c39132f1c80e5cb1f5e07134cfc4222 (patch) | |
| tree | 1be099fd3e5c20a419eac4435570f937b06a676a | |
| parent | 396df5b891aa702b7f37b91edd7ed060280b70b6 (diff) | |
| download | RayTracingInOneWeekend.zig-941e50328c39132f1c80e5cb1f5e07134cfc4222.tar.gz RayTracingInOneWeekend.zig-941e50328c39132f1c80e5cb1f5e07134cfc4222.tar.zst RayTracingInOneWeekend.zig-941e50328c39132f1c80e5cb1f5e07134cfc4222.zip | |
feat: add dependency, zigimg
| -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 |
