-
Notifications
You must be signed in to change notification settings - Fork 0
/
dub.json
45 lines (43 loc) · 1.36 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
{
"name": "bc-eris",
"description": "A non-standard library for DasBetterC.",
"targetType": "library",
"license": "Zlib",
"copyright": "Copyright © 2023, Gabriel B. Sant'Anna",
"authors": ["Gabriel B. Sant'Anna"],
"toolchainRequirements": {"frontend": ">=2.101"},
"buildRequirements": ["allowWarnings"],
"dflags": ["-preview=fieldwise"],
"buildTypes": {
"debug": {
"buildOptions": ["debugMode", "debugInfoC", "betterC"],
"dflags-linux-ldc": ["-static"],
"dflags-windows-ldc": ["-static"],
},
"release": {
"buildOptions": ["releaseMode", "optimize", "inline", "betterC"],
"dflags-linux-ldc": ["-static"],
"dflags-windows-ldc": ["-static"],
},
"release-debug": {
"buildOptions": ["releaseMode", "optimize", "inline", "debugInfoC", "betterC"],
"dflags-linux-ldc": ["-static"],
"dflags-windows-ldc": ["-static"],
},
"release-nobounds": {
"buildOptions": ["releaseMode", "optimize", "inline", "noBoundsCheck", "betterC"],
"dflags-linux-ldc": ["-static"],
"dflags-windows-ldc": ["-static"],
},
"unittest": {
"buildOptions": ["unittests", "debugMode", "debugInfoC", "betterC"],
"dflags-linux-ldc": ["-static"],
"dflags-windows-ldc": ["-static"],
},
"unittest-cov": {
"buildOptions": ["unittests", "coverage", "debugMode", "debugInfo"],
"dflags": ["-main"],
"dflags-ldc": ["-main", "-fsanitize=address"],
},
},
}