tangled
alpha
login
or
join now
altagos.dev
/
aether
0
fork
atom
this repo has no description
0
fork
atom
overview
issues
pulls
pipelines
extract mod_exe
altagos.dev
9 months ago
6f097d91
02d3631e
verified
This commit was signed with the committer's
known signature
.
altagos.dev
SSH Key Fingerprint:
SHA256:UbTjEcCZlc6GzQWLCuDK3D//HESWD2xFPkzue9XMras=
+10
-8
1 changed file
expand all
collapse all
unified
split
build.zig
+10
-8
build.zig
···
9
9
.target = target,
10
10
});
11
11
12
12
+
const mod_exe = b.createModule(.{
13
13
+
.root_source_file = b.path("src/main.zig"),
14
14
+
.target = target,
15
15
+
.optimize = optimize,
16
16
+
.imports = &.{
17
17
+
.{ .name = "aether", .module = mod },
18
18
+
},
19
19
+
});
20
20
+
12
21
const exe = b.addExecutable(.{
13
22
.name = "aether",
14
14
-
.root_module = b.createModule(.{
15
15
-
.root_source_file = b.path("src/main.zig"),
16
16
-
.target = target,
17
17
-
.optimize = optimize,
18
18
-
.imports = &.{
19
19
-
.{ .name = "aether", .module = mod },
20
20
-
},
21
21
-
}),
23
23
+
.root_module = mod_exe,
22
24
});
23
25
24
26
b.installArtifact(exe);