diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-09-08 15:46:39 +0700 |
---|---|---|
committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-09-08 15:52:39 +0700 |
commit | da79599ad5201f4eebd3edaabbe4b33498de448e (patch) | |
tree | 4f026ad0bb2ab643baadf057d8f391dbc4a9568f /build.zig | |
parent | 67cf9f61e91462eaf8e8caeaa7d0d7d3d9d1f711 (diff) | |
download | blackshades-2.1.0.tar.gz |
Move configuration parsing to Zig 2.1.0
The config file is now read from configuration directories instead of pwd.
Diffstat (limited to 'build.zig')
-rw-r--r-- | build.zig | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/build.zig b/build.zig index ada71ad..86a81db 100644 --- a/build.zig +++ b/build.zig @@ -26,7 +26,9 @@ pub fn build(b: *std.build.Builder) void { exe.addCSourceFile("src/Timer.cpp", &cxxflags); exe.addCSourceFile("src/Textures.cpp", &cxxflags); - exe.addPackage(.{ .name = "zeal", .path = "lib/zeal/src/main.zig" }); + exe.addPackage(.{ .name = "ini", .path = "lib/ini/src/ini.zig" }); + exe.addPackage(.{ .name = "loca", .path = "lib/loca/src/main.zig" }); + exe.addPackage(.{ .name = "zeal", .path = "lib/zeal/src/zeal.zig" }); exe.linkSystemLibrary("GL"); exe.linkSystemLibrary("GLU"); exe.linkSystemLibrary("SDL"); |