-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dub.sdl
65 lines (55 loc) · 1.43 KB
/
dub.sdl
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
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/globals.d" \
"src/dmd/id.d" \
"src/dmd/identifier.d" \
"src/dmd/lexer.d" \
"src/dmd/tokens.d" \
"src/dmd/utf.d"
preGenerateCommands `cd "$${DUB_PACKAGE_DIR}" && ./config.sh generated/dub VERSION /etc`
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"
preGenerateCommands `cd "$${DUB_PACKAGE_DIR}" && ./config.sh generated/dub VERSION /etc`
stringImportPaths "generated/dub"
stringImportPaths "res"
versions "NoBackend"
versions "GC"
versions "NoMain"
sourcePaths "src/dmd"
excludedSourceFiles "src/dmd/backend/*"
excludedSourceFiles "src/dmd/{e2ir,eh,glue,iasm,objc_glue,s2ir,tocsym,toctype,toobj,todt,toir}.d"
}