feat(win32 gui): add gui_config.json config file

This commit is contained in:
CJ van den Berg 2025-01-08 12:51:35 +01:00
parent 6d7a316abb
commit eaa7ad87b7
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
6 changed files with 40 additions and 21 deletions

View file

@ -252,6 +252,13 @@ pub fn build_exe(
},
});
const gui_config_mod = b.createModule(.{
.root_source_file = b.path("src/gui_config.zig"),
.imports = &.{
.{ .name = "cbor", .module = cbor_mod },
},
});
const log_mod = b.createModule(.{
.root_source_file = b.path("src/log.zig"),
.imports = &.{
@ -324,6 +331,7 @@ pub fn build_exe(
// TODO: we should be able to work without these modules
.{ .name = "vaxis", .module = vaxis_mod },
.{ .name = "color", .module = color_mod },
.{ .name = "gui_config", .module = gui_config_mod },
},
});
gui_mod.addIncludePath(b.path("src/win32"));