summaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorLorenzo Torres <torres@sideros.org>2025-03-29 16:15:56 +0100
committerLorenzo Torres <torres@sideros.org>2025-03-29 16:15:56 +0100
commit16a2a404189cc6b5cd3493df8d19298af7e542ce (patch)
treeeb53b701149498ef0716922c755524f2a8a42821 /build.zig
parentfd7973173f163e068deb0ae8f9d6ff0fc31fc71b (diff)
moved rendering to a system.
To ensure that the rendering system is being run in the main thread, I added the concept of "Sync systems", so that when a system group is created it's possible to specify whether it's possible to run it on a separate thread or not.
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/build.zig b/build.zig
index 399286f..c398bd4 100644
--- a/build.zig
+++ b/build.zig
@@ -118,6 +118,7 @@ pub fn build(b: *std.Build) void {
.root_module = mods,
.name = "mods",
});
+
const mods_docs = b.addInstallDirectory(.{
.source_dir = mods_lib.getEmittedDocs(),
.install_dir = .prefix,