Compare commits
11 Commits
750fdb65ae
...
9bedbe8c67
Author | SHA1 | Date |
---|---|---|
Rekai Nyangadzayi Musuka | 9bedbe8c67 | |
Rekai Nyangadzayi Musuka | 4a2875ffaa | |
Rekai Nyangadzayi Musuka | ecf67e621f | |
Rekai Nyangadzayi Musuka | fbeff03cc2 | |
Rekai Nyangadzayi Musuka | fd7c500434 | |
Rekai Nyangadzayi Musuka | 3174d3f981 | |
Rekai Nyangadzayi Musuka | 4df5c8a52c | |
Rekai Nyangadzayi Musuka | 081a87ddaa | |
Rekai Nyangadzayi Musuka | 707f25400b | |
Rekai Nyangadzayi Musuka | ac4bce080d | |
Rekai Nyangadzayi Musuka | db8c69e9bf |
|
@ -13,8 +13,6 @@ pub fn build(b: *std.build.Builder) void {
|
||||||
const mode = b.standardReleaseOptions();
|
const mode = b.standardReleaseOptions();
|
||||||
|
|
||||||
const exe = b.addExecutable("zba", "src/main.zig");
|
const exe = b.addExecutable("zba", "src/main.zig");
|
||||||
exe.setTarget(target);
|
|
||||||
|
|
||||||
// Known Folders (%APPDATA%, XDG, etc.)
|
// Known Folders (%APPDATA%, XDG, etc.)
|
||||||
exe.addPackagePath("known_folders", "lib/known-folders/known-folders.zig");
|
exe.addPackagePath("known_folders", "lib/known-folders/known-folders.zig");
|
||||||
|
|
||||||
|
@ -31,8 +29,10 @@ pub fn build(b: *std.build.Builder) void {
|
||||||
// Zig SDL Bindings: https://github.com/MasterQ32/SDL.zig
|
// Zig SDL Bindings: https://github.com/MasterQ32/SDL.zig
|
||||||
const sdk = Sdk.init(b);
|
const sdk = Sdk.init(b);
|
||||||
sdk.link(exe, .dynamic);
|
sdk.link(exe, .dynamic);
|
||||||
|
|
||||||
exe.addPackage(sdk.getNativePackage("sdl2"));
|
exe.addPackage(sdk.getNativePackage("sdl2"));
|
||||||
|
|
||||||
|
exe.setTarget(target);
|
||||||
exe.setBuildMode(mode);
|
exe.setBuildMode(mode);
|
||||||
exe.install();
|
exe.install();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue