compiling platform now
This commit is contained in:
parent
180badad39
commit
60dfe0ae60
|
|
@ -5,6 +5,7 @@ const dependencyList = [_][]const u8{
|
||||||
"core",
|
"core",
|
||||||
"sdl3",
|
"sdl3",
|
||||||
"nfd",
|
"nfd",
|
||||||
|
"watcher",
|
||||||
};
|
};
|
||||||
|
|
||||||
pub fn build(b: *std.Build) void {
|
pub fn build(b: *std.Build) void {
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@
|
||||||
.core = .{ .path = "../core" },
|
.core = .{ .path = "../core" },
|
||||||
.sdl3 = .{ .path = "../../lib/sdl3" },
|
.sdl3 = .{ .path = "../../lib/sdl3" },
|
||||||
.nfd = .{ .path = "../../lib/nfd" },
|
.nfd = .{ .path = "../../lib/nfd" },
|
||||||
|
.watcher = .{ .path = "../../lib/watcher" },
|
||||||
.shaderTypes = .{ .path = "../../lib/sdl3/shaderTypes" },
|
.shaderTypes = .{ .path = "../../lib/sdl3/shaderTypes" },
|
||||||
},
|
},
|
||||||
.paths = .{
|
.paths = .{
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,7 @@ pub fn getMouseVisible() bool {
|
||||||
|
|
||||||
pub fn watchPath(path: []const u8) void {
|
pub fn watchPath(path: []const u8) void {
|
||||||
watchPathPacker(core.fs(), path) catch {
|
watchPathPacker(core.fs(), path) catch {
|
||||||
core.engine_log("unable to set up watch on path", .{path});
|
core.engine_log("unable to set up watch on path {s}", .{path});
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -89,7 +89,7 @@ pub fn start_module(spec: *core.SpecVariantMap, args: anytype, allocator: std.me
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
core.getModuleLoader().watchInitializedFn = watchModules;
|
core.getModuleLoader().watchInitializeFn = watchModules;
|
||||||
|
|
||||||
const parameters = windowing.PlatformParams.init();
|
const parameters = windowing.PlatformParams.init();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue