-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdub.json
51 lines (51 loc) · 1.14 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
{
"name": "wgpu-d",
"description": "D bindings to wgpu-native",
"authors": [
"Chance Snow"
],
"license": "MIT",
"copyright": "Copyright © 2020-2022, Chance Snow",
"subPackages": [
"examples/headless",
"examples/triangle"
],
"targetType": "sourceLibrary",
"targetPath": "bin",
"toolchainRequirements": {
"frontend": ">=2.098.0",
"dmd": "no",
"gdc": "no",
"ldc": ">=1.28.0"
},
"systemDependencies-linux": "vulkan >= 1.1.0",
"systemDependencies-osx": "metal >= 2",
"systemDependencies-windows": "DirectX >= 11",
"configurations": [
{
"name": "library",
"lflags-posix": [
"-L$PACKAGE_DIR/lib"
]
},
{
"name": "unittest",
"lflags-posix": [
"-Llib"
],
"postBuildCommands-osx": [
"echo Fixing up libwgpu dylib path...",
"install_name_tool -change /Users/runner/work/wgpu-native/wgpu-native/target/x86_64-apple-darwin/debug/deps/libwgpu_native.dylib @executable_path/lib/libwgpu.dylib bin/wgpu-d-test-unittest"
]
}
],
"libs": [
"wgpu"
],
"preGenerateCommands-posix": [
"make wgpu"
],
"copyFiles": [
"lib"
]
}