forked from bosagora/agora
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dub.json
182 lines (175 loc) · 7.1 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
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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
{
"name": "agora",
"description": "Node implementation for BOA CoinNet",
"license": "MIT",
"authors": [ "BPF Korea dev team" ],
"copyright": "Copyright © 2019-2021, BOSAGORA Foundation",
"targetType": "executable",
"targetPath": "build",
"stringImportPaths" : [ "build" ],
"excludedSourceFiles": [ "source/scpp/*.d", "source/scpd/quorum/QuorumIntersectionTests.d" ],
"preGenerateCommands": [
"$DUB --verbose --single scripts/version_gen.d || (sleep 5s && $DUB --verbose --single scripts/version_gen.d)",
"$DUB --verbose --single source/scpp/build.d || (sleep 5s && $DUB --verbose --single source/scpp/build.d)"
],
"sourceFiles-posix": [
"source/scpp/build/*.o"
],
"sourceFiles-windows": [
"source/scpp/build/*.obj"
],
"versions": [ "_GLIBCXX_USE_CXX98_ABI" ],
"dflags": [ "-extern-std=c++17", "-preview=in", "-revert=dtorfields" ],
"lflags-posix": [ "-lstdc++", "-lsqlite3" ],
"lflags-windows": [ "sqlite3.lib", "/nodefaultlib:msvcetd.lib" ],
"lflags-linux": [ "--export-dynamic" ],
"lflags-osx": [ "-export_dynamic" ],
"libs-windows": [ "iphlpapi" ],
"buildRequirements": [ "allowWarnings" ],
"toolchainRequirements": {
"dub": "~>1.25",
"dmd": "no",
"gdc": "no",
"ldc": "~>1.28.1"
},
"configurations": [
{
"name": "server",
"targetName": "agora",
"mainSourceFile": "source/agora/node/main.d",
"debugVersions": [ "AgoraDebugAPIs" ],
"excludedSourceFiles": [
"source/agora/cli/*"
]
},
{
"name": "traced-server",
"targetName": "agora-traced",
"mainSourceFile": "source/agora/node/main.d",
"debugVersions": [ "AgoraDebugAPIs" ],
"excludedSourceFiles": [ "source/agora/cli/*" ],
"dependencies": {
"tracyd": { "version": "*", "dflags" : [ "-preview=in", "-revert=dtorfields" ] }
}
},
{
"name": "client",
"targetName": "agora-client",
"mainSourceFile": "source/agora/cli/client/main.d",
"excludedSourceFiles": [
"source/agora/api/Validator.d",
"source/agora/common/BanManager.d",
"source/agora/common/SCPHash.d",
"source/agora/consensus/Quorum.d",
"source/agora/network/Client.d",
"source/agora/network/Manager.d",
"source/agora/network/RPC.d",
"source/agora/network/VibeManager.d",
"source/agora/api/Registry.d",
"source/agora/node/*",
"source/agora/flash/*",
"source/agora/utils/SCPPrettyPrinter.d",
"source/scpp/*",
"source/scpd/*",
"source/agora/consensus/EnrollmentManager.d",
"source/agora/consensus/Ledger.d",
"source/agora/consensus/protocol/Config.d",
"source/agora/consensus/protocol/EnvelopeStore.d",
"source/agora/consensus/protocol/Nominator.d",
"source/agora/cli/checkvtable/*",
"source/agora/cli/multi/*",
"source/agora/test/*",
]
},
{
"name": "unittest",
"targetName": "agora-unittests",
"excludedSourceFiles": [
"source/agora/cli/*/main.d",
],
"sourceFiles-posix": [
"source/scpp/build/DSizeChecks.o",
"source/scpp/build/DLayoutChecks.o"
],
"sourceFiles-windows": [
"source/scpp/build/DSizeChecks.obj",
"source/scpp/build/DLayoutChecks.obj"
],
"dflags": [ "-checkaction=context" ],
"dflags-ldc": [ "--link-defaultlib-debug" ],
},
{
"name": "libconsensus",
"targetType": "none"
},
{
"name": "config-dumper",
"targetType": "executable",
"targetName": "agora-config-dumper",
"mainSourceFile": "source/agora/cli/configdump.d",
"excludedSourceFiles": [
"source/agora/cli/version/*"
],
"debugVersions": [ "ConfigFillerDebug" ]
},
{
"name": "multi",
"targetName": "agora-multi",
"mainSourceFile": "source/agora/cli/multi/main.d",
"excludedSourceFiles": [
"source/agora/cli/checkvtable/*",
"source/agora/cli/client/*",
]
},
{
"name": "dns-resolver",
"targetName": "dns-resolver",
"versions": [ "AgoraStandaloneDNSResolver" ],
},
{
"name": "vanity",
"targetName": "agora-vanity-generator",
"mainSourceFile": "source/agora/cli/vanity/main.d",
},
{
"name": "checkvtable-gen",
"targetName": "agora-checkvtable-gen",
"mainSourceFile": "source/agora/cli/checkvtable/generate.d",
"sourceFiles": [
],
"excludedSourceFiles": [
"source/agora/cli/checkvtable/check.d",
"source/agora/cli/client/*",
"source/agora/cli/multi/*",
]
},
{
"name": "checkvtable-run",
"targetName": "agora-checkvtable-run",
"mainSourceFile": "source/agora/cli/checkvtable/check.d",
"sourceFiles": [
"source/scpp/build/DVMChecks.o"
],
"excludedSourceFiles": [
"source/agora/cli/checkvtable/generate.d",
"source/agora/cli/client/*",
"source/agora/cli/multi/*",
]
}
],
"dependencies": {
"barcode": { "version": "*", "dflags" : [ "-preview=in", "-revert=dtorfields" ] },
"base32": { "version": "*", "dflags" : [ "-preview=in", "-revert=dtorfields" ] },
"bitblob": { "version": "*", "dflags" : [ "-preview=in", "-revert=dtorfields" ] },
"configy": { "version": "*", "dflags" : [ "-preview=in", "-revert=dtorfields" ] },
"crypto": { "version": "*", "dflags" : [ "-preview=in", "-revert=dtorfields" ] },
"d2sqlite3": { "version": "*", "dflags" : [ "-preview=in", "-revert=dtorfields" ] },
"dtext": { "version": "*", "dflags" : [ "-preview=in", "-revert=dtorfields" ] },
"dyaml": { "version": "*", "dflags" : [ "-preview=in", "-revert=dtorfields" ] },
"libsodiumd": { "version": "*", "dflags" : [ "-preview=in", "-revert=dtorfields" ] },
"localrest": { "version": "*", "dflags" : [ "-preview=in", "-revert=dtorfields" ] },
"serialization": { "version": "*", "dflags" : [ "-preview=in", "-revert=dtorfields" ] },
"vibe-d": { "version": "*", "dflags" : [ "-preview=in", "-revert=dtorfields" ] },
"my-ip": { "version": "*", "dflags" : [ "-preview=in", "-revert=dtorfields" ] }
}
}