This repository has been archived by the owner on Jan 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
deps.zig
62 lines (49 loc) · 1.48 KB
/
deps.zig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
const std = @import("std");
const build = std.build;
pub const cache = ".zigmod/deps";
pub fn addAllTo(exe: *build.LibExeObjStep) void {
@setEvalBranchQuota(1_000_000);
for (packages) |pkg| {
exe.addPackage(pkg);
}
if (c_include_dirs.len > 0 or c_source_files.len > 0) {
exe.linkLibC();
}
for (c_include_dirs) |dir| {
exe.addIncludeDir(dir);
}
inline for (c_source_files) |fpath| {
exe.addCSourceFile(fpath[1], @field(c_source_flags, fpath[0]));
}
for (system_libs) |lib| {
exe.linkSystemLibrary(lib);
}
}
fn get_flags(comptime index: usize) []const u8 {
return @field(c_source_flags, _paths[index]);
}
pub const _ids = .{
"2juqrn1feu1efgary5qdxq5claq8au5v8j31wpkynzfh82f8",
"i1z0p8v0459f4paad9vphk5osu8cwvnnv1kesqencbpbl6u3",
};
pub const _paths = .{
"",
"/v/git/github.com/gruebite/zzz/commit-69b9cb9/",
};
pub const package_data = struct {
pub const _i1z0p8v0459f4paad9vphk5osu8cwvnnv1kesqencbpbl6u3 = build.Pkg{ .name = "zzz", .path = cache ++ "/v/git/github.com/gruebite/zzz/commit-69b9cb9/src/main.zig", .dependencies = &[_]build.Pkg{ } };
};
pub const packages = &[_]build.Pkg{
package_data._i1z0p8v0459f4paad9vphk5osu8cwvnnv1kesqencbpbl6u3,
};
pub const pkgs = struct {
pub const zzz = packages[0];
};
pub const c_include_dirs = &[_][]const u8{
};
pub const c_source_flags = struct {
};
pub const c_source_files = &[_][2][]const u8{
};
pub const system_libs = &[_][]const u8{
};