ecs: update to latest Zig build API
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
a2eb384eaf
commit
b6f41b3fb0
1 changed files with 5 additions and 5 deletions
|
|
@ -1,10 +1,10 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
|
|
||||||
pub const pkg = std.build.AddModuleOptions{
|
pub fn module(b: *std.Build) *std.build.Module {
|
||||||
.name = "ecs",
|
return b.createModule(.{
|
||||||
.source_file = .{ .path = sdkPath("/src/main.zig") },
|
.source_file = .{ .path = sdkPath("/src/main.zig") },
|
||||||
.dependencies = &[_]std.build.AddModuleOptions{},
|
});
|
||||||
};
|
}
|
||||||
|
|
||||||
pub fn build(b: *std.Build) void {
|
pub fn build(b: *std.Build) void {
|
||||||
const optimize = b.standardOptimizeOption(.{});
|
const optimize = b.standardOptimizeOption(.{});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue