Compare commits
12 Commits
9bedbe8c67
...
750fdb65ae
Author | SHA1 | Date |
---|---|---|
Rekai Nyangadzayi Musuka | 750fdb65ae | |
Rekai Nyangadzayi Musuka | 05b5081351 | |
Rekai Nyangadzayi Musuka | be3ce71a96 | |
Rekai Nyangadzayi Musuka | 8e2022dffd | |
Rekai Nyangadzayi Musuka | 0fe164db11 | |
Rekai Nyangadzayi Musuka | 41f10c6c12 | |
Rekai Nyangadzayi Musuka | d5acfb6eb0 | |
Rekai Nyangadzayi Musuka | 6428be5f22 | |
Rekai Nyangadzayi Musuka | 1d09554ea4 | |
Rekai Nyangadzayi Musuka | 66ad155a76 | |
Rekai Nyangadzayi Musuka | 1fa855d8b5 | |
Rekai Nyangadzayi Musuka | c71e954748 |
|
@ -13,6 +13,8 @@ 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");
|
||||||
|
|
||||||
|
@ -29,10 +31,8 @@ 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