File tree Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -110,10 +110,12 @@ pub fn build(b: *std.Build) void {
110
110
},
111
111
});
112
112
113
- const zdawn = b .addStaticLibrary (.{
113
+ const zdawn = b .addLibrary (.{
114
114
.name = "zdawn" ,
115
- .target = target ,
116
- .optimize = optimize ,
115
+ .root_module = b .createModule (.{
116
+ .target = target ,
117
+ .optimize = optimize ,
118
+ }),
117
119
});
118
120
b .installArtifact (zdawn );
119
121
@@ -141,9 +143,11 @@ pub fn build(b: *std.Build) void {
141
143
142
144
const tests = b .addTest (.{
143
145
.name = "zgpu-tests" ,
144
- .root_source_file = b .path ("src/zgpu.zig" ),
145
- .target = target ,
146
- .optimize = optimize ,
146
+ .root_module = b .createModule (.{
147
+ .root_source_file = b .path ("src/zgpu.zig" ),
148
+ .target = target ,
149
+ .optimize = optimize ,
150
+ }),
147
151
});
148
152
tests .addIncludePath (b .path ("libs/dawn/include" ));
149
153
tests .linkLibrary (zdawn );
Original file line number Diff line number Diff line change 13
13
},
14
14
.dependencies = .{
15
15
.zpool = .{
16
- .url = "https://github.com/zig-gamedev/zpool/archive/99a4c74ec26b1f327209782565b4adaf1c1d610f .tar.gz" ,
17
- .hash = "zpool-0.11.0-dev-bG692eY7AQDLTkjTbgnbg_-qgjmxUCg8hNpN1kZRrIlW " ,
16
+ .url = "https://github.com/zig-gamedev/zpool/archive/7829cf02f78e8c39e19b802ccb47ed44037299c2 .tar.gz" ,
17
+ .hash = "zpool-0.11.0-dev-bG692QtEAQCyqBnzSBJbJlY0-a_3v1YcjFTGmg0VBjOc " ,
18
18
},
19
19
.system_sdk = .{
20
20
.url = "https://github.com/zig-gamedev/system_sdk/archive/c0dbf11cdc17da5904ea8a17eadc54dee26567ec.tar.gz" ,
You can’t perform that action at this time.
0 commit comments