diff options
author | Martin Ashby <martin@ashbysoft.com> | 2023-08-28 19:30:25 +0100 |
---|---|---|
committer | Martin Ashby <martin@ashbysoft.com> | 2023-08-28 19:30:25 +0100 |
commit | 476530136f9e5ae9ad048cfd482383819bd6d242 (patch) | |
tree | a39911be0177097c9ea8e3a096bf6a0fffc62e1c /build.zig | |
parent | 579a9daf89a69d01cabcaf4ee96a834b130b0fcb (diff) | |
download | zigwebserver-476530136f9e5ae9ad048cfd482383819bd6d242.tar.gz zigwebserver-476530136f9e5ae9ad048cfd482383819bd6d242.tar.bz2 zigwebserver-476530136f9e5ae9ad048cfd482383819bd6d242.tar.xz zigwebserver-476530136f9e5ae9ad048cfd482383819bd6d242.zip |
update build.zig for module system
Diffstat (limited to 'build.zig')
-rw-r--r-- | build.zig | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -24,6 +24,9 @@ pub fn build(b: *std.Build) void { .optimize = optimize, }); + // for zig module system + _ = b.addModule("zigwebserver", .{ .source_file = .{ .path = "src/zigwebserver.zig" } }); + // This declares intent for the executable to be installed into the // standard location when the user invokes the "install" step (the default // step when running `zig build`). |