mirror of
https://github.com/thunderbrewhq/system.git
synced 2026-02-03 16:39:07 +00:00
fix(build): fix build.zig
This commit is contained in:
parent
73b76e044b
commit
bc2defabed
1 changed files with 12 additions and 9 deletions
21
build.zig
21
build.zig
|
|
@ -1,11 +1,14 @@
|
|||
const std = @import("std");
|
||||
const system = @import("zig/system.zig");
|
||||
|
||||
pub fn build(b: *std.Build) void {
|
||||
const optimize = b.standardOptimizeOption(.{});
|
||||
const module = b.addModule(.{
|
||||
.name = "system",
|
||||
.root_source_file = b.path("zig/system.zig"),
|
||||
.optimize = optimize
|
||||
});
|
||||
b.default_step.dependOn(&module.step);
|
||||
}
|
||||
// pub fn build(b: *std.Build) void {
|
||||
// // const optimize = b.standardOptimizeOption(.{});
|
||||
// // const module = b.addModule(.{
|
||||
// // .name = "system",
|
||||
// // .root_source_file = b.path("zig/system.zig"),
|
||||
// // .optimize = optimize
|
||||
// // });
|
||||
// // b.default_step.dependOn(&module.step);
|
||||
// }
|
||||
|
||||
pub const add_defines = system.add_defines;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue