build: update to latest zig master
This commit is contained in:
parent
68a95a4984
commit
15e8cad161
5 changed files with 10 additions and 9 deletions
|
|
@ -3,12 +3,12 @@ const std = @import("std");
|
|||
pub fn build(b: *std.Build) void {
|
||||
const target = b.standardTargetOptions(.{});
|
||||
|
||||
const cbor_mod = b.createModule(.{ .root_source_file = .{ .path = "src/cbor.zig" } });
|
||||
const theme_mod = b.createModule(.{ .root_source_file = .{ .path = "src/theme.zig" } });
|
||||
const cbor_mod = b.createModule(.{ .root_source_file = b.path("src/cbor.zig") });
|
||||
const theme_mod = b.createModule(.{ .root_source_file = b.path("src/theme.zig") });
|
||||
const themes_compile = b.addExecutable(.{
|
||||
.name = "themes_compile",
|
||||
.target = target,
|
||||
.root_source_file = .{ .path = "src/compile.zig" },
|
||||
.root_source_file = b.path("src/compile.zig"),
|
||||
});
|
||||
add_themes(b, themes_compile);
|
||||
themes_compile.root_module.addImport("cbor", cbor_mod);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue