forked from dotnet/core-setup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
362 lines (362 loc) · 10.7 KB
/
config.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
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
{
"settings": {
"OSGroup": {
"description": "OS Group for result binaries.",
"valueType": "property",
"values": ["Windows_NT", "Linux", "OSX", "FreeBSD", "NetBSD"],
"defaultValue": "${OSName}"
},
"RestoreDuringBuild": {
"description": "Enables/Disables the restoration of packages.",
"valueType": "property",
"values": ["True", "False"],
"defaultValue": true
},
"Platform": {
"description": "Sets the value of the platform.",
"valueType": "property",
"values": ["x86", "arm", "x64", "amd64"],
"defaultValue": "x64"
},
"PortableBuild": {
"description": "Indicates if this is a portable build.",
"valueType": "property",
"values": [ "True", "False"],
"defaultValue": "False"
},
"CrossBuild": {
"description": "Indicates if this is a linux cross build.",
"valueType": "property",
"values": [ "True", "False"],
"defaultValue": "False"
},
"TargetArchitecture":{
"description": "Build for the specified architecture (x64, x86 (supported only on Windows), arm, or arm64, default: x64)",
"valueType": "property",
"values": ["x64", "x86", "arm", "arm64", "armel"],
"defaultValue": "x64"
},
"ConfigurationGroup": {
"description": "Sets the configuration group as Release or Debug.",
"valueType": "property",
"values": ["Release", "Debug"],
"defaultValue": "Debug"
},
"OfficialBuildId": {
"description": "Specifies the SeedDate and the revision of the build to generate the version of the libraries.",
"valueType": "property",
"values": [],
"defaultValue": ""
},
"MsBuildLogging": {
"description": "MsBuild logging options.",
"valueType": "passThrough",
"values": [],
"defaultValue": "/flp:v=normal"
},
"StripSymbols": {
"description": "Pass additional argument to native build to configure symbol stripping.",
"valueType": "property",
"values": ["true", "false"],
"defaultValue": false
},
"Project": {
"description": "Project where the commands are going to be applied.",
"valueType": "passThrough",
"values": [],
"defaultValue": ""
},
"ExtraParameters": {
"description": "Extra parameters will be passed to the selected command.",
"valueType": "passThrough",
"values": [],
"defaultValue": ""
},
"BatchRestorePackages": {
"description": "MsBuild target that restores the packages.",
"valueType": "target",
"values": [],
"defaultValue": ""
},
"CleanAllProjects": {
"description": "MsBuild target that deletes the binary output directory.",
"valueType": "target",
"values": [],
"defaultValue": ""
},
"CleanPackages": {
"description": "MsBuild target that deletes the repo-local nuget package directory.",
"valueType": "target",
"values": [],
"defaultValue": ""
},
"CleanPackagesCache": {
"description": "MsBuild target that deletes the user-local nuget package cache.",
"valueType": "target",
"values": [],
"defaultValue": ""
},
"GenerateNativeVersionInfo": {
"description": "Enables generation of the native version header.",
"valueType": "property",
"values": ["True", "False"],
"defaultValue": true
},
"GenerateVersionHeader": {
"description": "MsBuild target that generates the version header.",
"valueType": "target",
"values": [],
"defaultValue": ""
},
"CmakeBuildType": {
"description": "Sets the value of the build configuration.",
"valueType": "passThrough",
"values": [],
"defaultValue": "Debug"
},
"HostOs": {
"description": "OS for result binaries.",
"valueType": "passThrough",
"values": ["AnyOS", "Windows_NT", "Linux", "OSX", "FreeBSD", "NetBSD"],
"defaultValue": "${OSName}"
},
"ProcessorCount": {
"description": "Sets the value of the number of processors available.",
"valueType": "passThrough",
"values": ["Numeric values"],
"defaultValue": "--numproc ${ProcessorCount}"
},
"AdditionalArgs": {
"description": "Pass additional arguments to the native_build script",
"valueType": "passThrough",
"values": [],
"defaultValue": ""
},
"SkipTests": {
"description": "Skip running tests",
"valueType": "property",
"values": ["true", "false"],
"defaultValue":false
},
"DisableCrossgen": {
"description": "Disable crossgen during the build",
"valueType": "property",
"values": ["true", "false"],
"defaultValue":false
}
},
"commands": {
"sync":{
"alias":{
"p":{
"description": "Restores all NuGet packages for repository.",
"settings":{
"RestoreDuringBuild": true,
"BatchRestorePackages": "default"
}
},
"verbose":{
"description": "Passes /flp:v=diag to the msbuild command or the value passed by the user.",
"settings":{
"MsBuildLogging": "/flp:v=diag;LogFile=sync.log"
}
}
},
"defaultValues":{
"toolName": "msbuild",
"settings": {
"MsBuildLogging":"/flp:v=normal;LogFile=sync.log",
"Project":"build.proj"
}
}
},
"build":{
"alias": {
"binaries": {
"description": "Only builds binaries. It doesn't restore packages.",
"settings": {
"RestoreDuringBuild": false
}
},
"src-builds": {
"description": "Only build src\\src.builds project",
"settings": {
"Project": "src\\src.builds"
}
},
"signing-validation": {
"description": "Build signing validation project.",
"settings": {
"Project": "signing\\signingvalidation.proj"
}
},
"GenerateVersion": {
"description": "Generates the version header for native binaries.",
"settings": {
"GenerateNativeVersionInfo": true,
"GenerateVersionHeader": "default"
}
},
"debug": {
"description": "Sets ConfigurationGroup=Debug or the value passed by the user.",
"settings": {
"ConfigurationGroup": "Debug"
}
},
"release": {
"description": "Sets ConfigurationGroup=Release or the value passed by the user.",
"settings": {
"ConfigurationGroup": "Release"
}
},
"verbose": {
"description": "Passes /flp:v=diag to the msbuild command or the value passed by the user.",
"settings": {
"MsBuildLogging": "/flp:v=diag"
}
},
"cmakelog": {
"description": "Writes msbuild log to cmake.log",
"settings": {
"MsBuildLogging": "/flp:v=diag;LogFile=msbuild-cmake.log"
}
},
"os": {
"description": "Sets OSGroup=AnyOS or the value passed by the user.",
"settings": {
"OSGroup": "default"
}
},
"portable": {
"description": "Make the build-native script generate binaries that are portable for the platform.",
"settings": {
"PortableBuild": "true"
}
},
"skipTests": {
"description": "Skips running tests",
"settings": {
"SkipTests": "true"
}
},
"disableCrossgen": {
"description": "Disable crossgen during the build",
"settings": {
"DisableCrossgen": "true"
}
},
"strip-symbols": {
"description": "Strip native symbols.",
"settings": {
"StripSymbols": true
}
}
},
"defaultValues":{
"toolName": "msbuild",
"settings": {
"TargetArchitecture": "default",
"OSGroup": "default",
"MsBuildLogging":"default",
"Project":"build.proj"
}
}
},
"build-native":{
"alias":{
"verbose":{
"description": "Passes /flp:v=diag to the msbuild command or the value passed by the user.",
"settings":{
"MsBuildLogging": "/flp:v=diag;LogFile=msbuild-cmake.log"
}
},
"portable":{
"description": "Make the build-native script generate binaries that are portable for the platform.",
"settings": {
"PortableBuild":"true"
}
}
},
"defaultValues":{
"toolName": "msbuild",
"settings": {
"TargetArchitecture": "default",
"OSGroup": "default",
"MsBuildLogging":"/flp:v=n;LogFile=msbuild-cmake.log"
}
}
},
"build-custom":{
"alias":{
"verbose":{
"description": "Passes /flp:v=diag to the msbuild command or the value passed by the user.",
"settings":{
"MsBuildLogging": "/flp:v=diag;LogFile=msbuild.log"
}
}
},
"defaultValues":{
"toolName": "msbuild",
"settings": {
"Architecture": "default",
"TargetArchitecture": "default",
"OSGroup": "default",
"MsBuildLogging":"/flp:v=n;LogFile=msbuild.log"
}
}
},
"clean":{
"alias":{
"b":{
"description": "Deletes the binary output directory.",
"settings":{
"CleanAllProjects": "default"
}
},
"p":{
"description": "Deletes the repo-local nuget package directory.",
"settings":{
"CleanPackages": "default"
}
}
},
"defaultValues":{
"toolName": "msbuild",
"settings": {
"MsBuildLogging":"/flp:v=normal;LogFile=clean.log",
"Project":"build.proj"
}
}
}
},
"tools": {
"msbuild": {
"osSpecific":{
"windows": {
"defaultParameters": "/nologo /verbosity:minimal /clp:Summary /maxcpucount /nodeReuse:false",
"path": "Tools/msbuild.cmd"
},
"unix":{
"defaultParameters": "/nologo /verbosity:minimal /clp:Summary /maxcpucount /l:BinClashLogger,Tools/Microsoft.DotNet.Build.Tasks.dll;LogFile=binclash.log",
"path": "Tools/msbuild.sh"
}
},
"valueTypes": {
"property": "/p:{name}={value}",
"target": "/t:{name}",
"internal": "/{name}"
}
},
"terminal": {
"osSpecific":{
"windows": {
"filesExtension": "cmd"
},
"unix":{
"filesExtension": "sh"
}
},
"valueTypes": {}
}
}
}