Переход к RenderEngine

This commit is contained in:
2025-12-21 17:26:19 +03:00
parent 6f58967049
commit 3ac35a5046
11 changed files with 138 additions and 33 deletions

View File

@@ -34,7 +34,16 @@ pub fn build(b: *std.Build) void {
}
const exe_tests = b.addTest(.{
.root_module = exe.root_module,
.root_module = b.createModule(.{
.root_source_file = b.path("src/tests.zig"),
.target = target,
.optimize = optimize,
.imports = &.{
.{ .name = "dvui", .module = dvui_dep.module("dvui_sdl3") },
.{ .name = "sdl-backend", .module = dvui_dep.module("sdl3") },
},
}),
});
const run_exe_tests = b.addRunArtifact(exe_tests);