-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.json5
More file actions
73 lines (65 loc) · 1.74 KB
/
build.json5
File metadata and controls
73 lines (65 loc) · 1.74 KB
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
62
63
64
65
66
67
68
69
70
71
72
73
{
name: "zig-webgpu",
description: "Zig bindings for WebGPU",
author: "VExcess <github.com/vexcess>",
modules: {
example: {
root: "./examples/triangle.zig",
dependencies: [
"vexlib",
"webgpu",
// "SDL2"
"glfw"
]
},
// wgpu_native doesn't work with SDL at the moment
// SDL2: {
// type: "system:lib",
// install: {
// debian_ubuntu: "sudo apt-get install libsdl2-dev",
// },
// dependencies: [
// "libc"
// ]
// },
glfw: {
type: "system:lib",
install: {
debian_ubuntu: "sudo apt-get install libglfw3-dev",
},
dependencies: [
"libc"
]
},
webgpu: {
type: "zig:lib",
root: "src/webgpu.zig",
dependencies: [
"vexlib",
"wgpu_native"
]
},
wgpu_native: {
type: "system:lib",
version: "27.0.4.0",
include: "./wgpu-linux-x86_64-debug/include/webgpu",
lib_path: "./wgpu-linux-x86_64-debug/lib",
dependencies: [
"libc"
]
},
libc: {
type: "system:lib",
install: {
debian_ubuntu: "sudo apt install libc6-dev",
}
},
$importAll: [
{
remote: "https://github.com/vExcess/zig-vexlib",
local: "/home/vexcess/Sync/Workspace/zwebsuite/vexlib/build.json5"
}
]
},
default: "example",
}