-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdub.json
52 lines (52 loc) · 1.63 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
{
"name": "clwrap",
"subPackages": [
{
"name": "level1",
"dependencies": {
"derelict-cl": ">=2.0.0"
},
"sourcePaths": ["level1"],
"importPaths": ["level1"],
"targetType": "library",
},
{
"name": "level2",
"dependencies": {
"clwrap:level1": { "path": "./" },
"derelict-gl3": ">=1.0.11"
},
"sourcePaths": ["level2"],
"importPaths": ["level2"],
"stringImportPaths": ["level2"],
"targetType": "library"
},
{
"name": "level3",
"dependencies": {
"clwrap:level1": { "path": "./" },
"clwrap:level2": { "path": "./" },
"mir": ">=0.15.2"
},
"sourcePaths": ["level3"],
"importPaths": ["level3"],
"targetType": "library"
},
{
"name": "bindgen",
"dependencies": {
"libdparse": ">=0.6.0",
"derelict-cl": ">=2.0.0"
},
"sourcePaths": ["bindGen"],
"targetType": "executable",
"targetName": "genFunctions",
"preGenerateCommands": [
"printf 'auto input = \"$DERELICT_CL_PACKAGE_DIR/source/derelict/opencl/functions.d\";\nauto output = \"$PACKAGE_DIR/level1/clWrap/l1/functions.d\";' > $PACKAGE_DIR/bindGen/input_output.d"
],
"postBuildCommands": [
"rm $PACKAGE_DIR/bindGen/input_output.d",
]
},
]
}