module: support merging module lists

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2024-05-04 18:08:04 -07:00
parent b37ece1b9a
commit 95c9ae5278
9 changed files with 130 additions and 34 deletions

View file

@ -3,8 +3,7 @@ const mach = @import("mach");
// The global list of Mach modules registered for use in our application.
pub const modules = .{
mach.Core,
mach.gfx.Sprite,
mach.gfx.SpritePipeline,
mach.gfx.sprite_modules,
@import("App.zig"),
@import("Glyphs.zig"),
};

View file

@ -3,8 +3,7 @@ const mach = @import("mach");
// The global list of Mach modules registered for use in our application.
pub const modules = .{
mach.Core,
mach.gfx.Sprite,
mach.gfx.SpritePipeline,
mach.gfx.sprite_modules,
@import("App.zig"),
};

View file

@ -3,9 +3,7 @@ const mach = @import("mach");
// The global list of Mach modules registered for use in our application.
pub const modules = .{
mach.Core,
mach.gfx.Text,
mach.gfx.TextPipeline,
mach.gfx.TextStyle,
mach.gfx.text_modules,
@import("App.zig"),
};