-
Notifications
You must be signed in to change notification settings - Fork 1
/
dub.json
58 lines (58 loc) · 1.47 KB
/
dub.json
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
{
"name": "wgpu-d",
"description": "D bindings to wgpu-native",
"authors": ["Chance Snow"],
"license": "MIT",
"copyright": "Copyright © 2020-2023, Chance Snow",
"subPackages": [
"examples/enumerate",
"examples/headless",
"examples/triangle",
"examples/cube"
],
"excludedSourceFiles": ["examples/triangle/subprojects/glfw/**/*.d"],
"targetType": "sourceLibrary",
"targetPath": "bin",
"toolchainRequirements": {
"frontend": ">=2.105",
"dmd": ">=2.107.0",
"gdc": "no",
"ldc": ">=1.35.0-beta1"
},
"systemDependencies-linux": "vulkan >= 1.1.0",
"systemDependencies-osx": "metal >= 2",
"systemDependencies-windows": "vulkan >= 1.1.0 or DirectX >= 11",
"preGenerateCommands": ["make wgpu"],
"configurations": [
{
"name": "library",
"lflags-posix": ["$WGPU_D_PACKAGE_DIR/subprojects/wgpu"],
"libs-posix": ["wgpu_native"]
},
{
"name": "static",
"lflags-posix": ["$WGPU_D_PACKAGE_DIR/subprojects/wgpu/libwgpu_native.a"]
},
{
"name": "unittest",
"lflags-posix": ["$WGPU_D_PACKAGE_DIR/subprojects/wgpu/libwgpu_native.a"]
}
],
"lflags-osx": [
"-framework", "AppKit",
"-framework", "IOKit",
"-framework", "Metal",
"-framework", "QuartzCore"
],
"lflags-windows": ["/LIBPATH:$WGPU_D_PACKAGE_DIR/subprojects/wgpu"],
"libs-windows": [
"wgpu_native",
"d3dcompiler",
"ws2_32",
"advapi32",
"user32",
"userenv",
"bcrypt",
"ntdll"
]
}