forked from dlang/dmd
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdub.sdl
More file actions
128 lines (113 loc) · 2.33 KB
/
dub.sdl
File metadata and controls
128 lines (113 loc) · 2.33 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
name "dmd"
description "The DMD compiler"
authors "Walter Bright"
copyright "Copyright © 1999-2018, The D Language Foundation"
license "BSL-1.0"
targetType "none"
dependency ":frontend" version="*"
subPackage {
name "root"
targetType "library"
sourcePaths "src/dmd/root"
}
subPackage {
name "lexer"
targetType "library"
sourcePaths
sourceFiles \
"src/dmd/console.d" \
"src/dmd/entity.d" \
"src/dmd/errors.d" \
"src/dmd/filecache.d" \
"src/dmd/globals.d" \
"src/dmd/id.d" \
"src/dmd/identifier.d" \
"src/dmd/lexer.d" \
"src/dmd/tokens.d" \
"src/dmd/utf.d" \
"src/dmd/utils.d"
preGenerateCommands `
"$${DUB_EXE}" \
--arch=$${DUB_ARCH} \
--compiler=$${DC} \
--single "$${DUB_PACKAGE_DIR}config.d" \
-- "$${DUB_PACKAGE_DIR}generated/dub" \
"$${DUB_PACKAGE_DIR}VERSION" \
/etc
` platform="posix"
preGenerateCommands `"%DUB_EXE%" --arch=%DUB_ARCH% --compiler="%DC%" --single "%DUB_PACKAGE_DIR%config.d" -- "%DUB_PACKAGE_DIR%generated/dub" "%DUB_PACKAGE_DIR%VERSION"` platform="windows"
stringImportPaths "generated/dub"
dependency "dmd:root" version="*"
}
subPackage {
name "parser"
targetType "library"
sourcePaths
sourceFiles \
"src/dmd/astbase.d" \
"src/dmd/parse.d" \
"src/dmd/transitivevisitor.d" \
"src/dmd/permissivevisitor.d" \
"src/dmd/strictvisitor.d"
dependency "dmd:lexer" version="*"
}
subPackage {
name "frontend"
targetType "library"
sourcePaths "src/dmd"
stringImportPaths "res"
versions \
"NoBackend" \
"GC" \
"NoMain" \
"MARS"
excludedSourceFiles "src/dmd/backend/*"
excludedSourceFiles "src/dmd/root/*"
excludedSourceFiles "src/dmd/{\
astbase,\
console,\
entity,\
errors,\
filecache,\
globals,\
id,\
identifier,\
lexer,\
parse,\
permissivevisitor,\
strictvisitor,\
tokens,\
transitivevisitor,\
utf,\
utils\
}.d"
excludedSourceFiles "src/dmd/{\
dmsc,\
e2ir,\
eh,\
glue,\
iasm,\
iasmdmd,\
iasmgcc,\
irstate,\
lib,\
libelf,\
libmach,\
libmscoff,\
libomf,\
link,\
objc_glue,\
s2ir,\
scanelf,\
scanmach,\
scanmscoff,\
scanomf,\
tocsym,\
toctype,\
tocvdebug,\
toobj,\
todt,\
toir\
}.d"
dependency "dmd:parser" version="*"
}