File tree 2 files changed +19
-0
lines changed
2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -333,6 +333,8 @@ fn addTests(
333
333
.target = target ,
334
334
.optimize = optimize ,
335
335
});
336
+ // TODO(hazeycode): Using prebuilt libs for now. Compile from source in future.
337
+ prebuilt .addLibraryPathsTo (tests );
336
338
b .installArtifact (tests );
337
339
test_step .dependOn (& b .addRunArtifact (tests ).step );
338
340
return tests ;
Original file line number Diff line number Diff line change 9
9
"README.md" ,
10
10
"LICENSE" ,
11
11
},
12
+ .dependencies = .{
13
+ .@"sdl2-prebuilt-macos" = .{
14
+ .url = "https://github.com/zig-gamedev/sdl2-prebuilt-macos/archive/f14773fa3de719b3a399b854c31eb4139d63842f.tar.gz" ,
15
+ .hash = "12205cb2da6fb4a7fcf28b9cd27b60aaf12f4d4a55be0260b1ae36eaf93ca5a99f03" ,
16
+ .lazy = true ,
17
+ },
18
+ .@"sdl2-prebuilt-x86_64-windows-gnu" = .{
19
+ .url = "https://github.com/zig-gamedev/sdl2-prebuilt-x86_64-windows-gnu/archive/8143e2a5c28dbace399cbff14c3e8749a1afd418.tar.gz" ,
20
+ .hash = "1220ade6b84d06d73bf83cef22c73ec4abc21a6d50b9f48875f348b7942c80dde11b" ,
21
+ .lazy = true ,
22
+ },
23
+ .@"sdl2-prebuilt-x86_64-linux-gnu" = .{
24
+ .url = "https://github.com/zig-gamedev/sdl2-prebuilt-x86_64-linux-gnu/archive/2eccc574ad909b0d00b694b10c217a95145c47af.tar.gz" ,
25
+ .hash = "12200ecb91c0596d0356ff39d573af83abcd44fecb27943589f11c2cd172763fea39" ,
26
+ .lazy = true ,
27
+ },
28
+ },
12
29
}
You can’t perform that action at this time.
0 commit comments