Zig port of FileHandler

- io directly with iff.zig and filehandler.zig
- Added OpenGL ubuntu build step and made sure lint doesn't start until build is done
- Rewrote motivation section in README
This commit is contained in:
Tony Bark 2024-04-30 23:00:03 -04:00
parent 02827893df
commit c8e8d41fb8
7 changed files with 84 additions and 30 deletions

View file

@ -26,6 +26,7 @@ pub fn build(b: *std.Build) void {
exe.linkLibC();
exe.addIncludePath(.{ .path = "./library/formats" });
exe.addIncludePath(.{ .path = "./library/libvitaboy" });
exe.addIncludePath(.{ .path = "./tools" });
// Modules
const raylib_dep = b.dependency("raylib-zig", .{
@ -80,6 +81,7 @@ pub fn build(b: *std.Build) void {
exe_unit_tests.linkLibC();
exe_unit_tests.addIncludePath(.{ .path = "./library/formats" });
exe_unit_tests.addIncludePath(.{ .path = "./library/libvitaboy" });
exe_unit_tests.addIncludePath(.{ .path = "./tools" });
const run_exe_unit_tests = b.addRunArtifact(exe_unit_tests);