add file dialog

This commit is contained in:
Fabien Freling 2023-10-13 18:16:41 +02:00
parent 7f0c088b3d
commit a503e67eaf
6 changed files with 775 additions and 8 deletions

View file

@ -21,6 +21,14 @@ pub fn build(b: *std.Build) void {
.optimize = optimize,
});
exe.linkLibrary(raylib_dep.artifact("raylib"));
const cflags = [_][]const u8{};
exe.addCSourceFile(.{
.file = .{
.path = "3rd-party/raygui.c",
},
.flags = &cflags,
});
exe.addIncludePath(.{ .path = "3rd-party/" });
exe.linkSystemLibrary("sqlite3");