-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpackage.json
568 lines (568 loc) · 21.6 KB
/
package.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
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
{
"name": "cmake-integration-vscode",
"displayName": "CMake Integration",
"description": "Supercharged CMake integration for Visual Studio Code — With support for multi-root workspaces, advanced build workflows and more.",
"author": {
"name": "Christoph Seitz",
"email": "[email protected]"
},
"version": "0.7.1",
"preview": true,
"license": "Apache-2.0",
"publisher": "go2sh",
"icon": "images/cmake-logo.png",
"engines": {
"vscode": "^1.32.0"
},
"categories": [
"Other"
],
"keywords": [
"cmake",
"build",
"c",
"c++",
"multi-root"
],
"bugs": {
"url": "https://github.com/go2sh/cmake-integration-vscode/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/go2sh/cmake-integration-vscode.git"
},
"homepage": "https://github.com/go2sh/cmake-integration-vscode",
"activationEvents": [
"workspaceContains:**/CMakeLists.txt",
"onCommand:cmake.configureProject",
"onCommand:cmake.configureCurrentProject",
"onCommand:cmake.configureWorkspace"
],
"main": "./dist/extension",
"contributes": {
"jsonValidation": [
{
"fileMatch": ".vscode/cmake_configurations.json",
"url": "./schema/cmake_configurations.json"
}
],
"commands": [
{
"command": "cmake.configureProject",
"title": "Configure a project folder",
"category": "CMake"
},
{
"command": "cmake.configureCurrentProject",
"title": "Configure current project",
"category": "CMake"
},
{
"command": "cmake.configureWorkspace",
"title": "Configure workspace",
"category": "CMake"
},
{
"command": "cmake.buildTarget",
"title": "Build a target",
"category": "CMake"
},
{
"command": "cmake.buildCurrentTarget",
"title": "Build current target",
"category": "CMake"
},
{
"command": "cmake.buildProject",
"title": "Build a project folder",
"category": "CMake"
},
{
"command": "cmake.buildCurrentProject",
"title": "Build current project",
"category": "CMake"
},
{
"command": "cmake.buildWorkspace",
"title": "Build workspace",
"category": "CMake"
},
{
"command": "cmake.cleanProject",
"title": "Clean a project folder",
"category": "CMake"
},
{
"command": "cmake.stopCurrentBuild",
"title": "Stop current build process",
"category": "CMake"
},
{
"command": "cmake.stopBuild",
"title": "Stop a build process",
"category": "CMake"
},
{
"command": "cmake.cleanCurrentProject",
"title": "Clean current project",
"category": "CMake"
},
{
"command": "cmake.cleanWorkspace",
"title": "Clean workspace",
"category": "CMake"
},
{
"command": "cmake.installProject",
"title": "Install a project folder",
"category": "CMake"
},
{
"command": "cmake.installCurrentProject",
"title": "Install current project",
"category": "CMake"
},
{
"command": "cmake.removeBuildDirectory",
"title": "Remove build directory",
"category": "CMake"
},
{
"command": "cmake.cleanRestartClient",
"title": "Restart CMake",
"category": "CMake"
},
{
"command": "cmake.selectProject",
"title": "Select CMake Project",
"category": "CMake"
},
{
"command": "cmake.selectTarget",
"title": "Select CMake Target",
"category": "CMake"
},
{
"command": "cmake.selectConfiguration",
"title": "Select CMake Configuration",
"category": "CMake"
},
{
"command": "cmake.editConfigurations",
"title": "Edit CMake Configurations",
"category": "CMake"
},
{
"command": "cmake.editCurrentConfigurations",
"title": "Edit current CMake Configurations",
"category": "CMake"
}
],
"configuration": {
"type": "object",
"title": "CMake Integration",
"properties": {
"cmake.cmakePath": {
"type": "string",
"title": "CMake Path",
"description": "Path to CMake executable.",
"default": "cmake",
"scope": "resource"
},
"cmake.cmakeAPI": {
"type": "string",
"title": "CMake API",
"description": "Choose CMake API to use. Override 'Auto' with care.",
"enum": [
"Auto",
"Server",
"File API"
],
"default": "Auto",
"scope": "resource"
},
"cmake.configureArguments": {
"type": "string",
"title": "Additional arguments for configure",
"description": "Add additional arguments for the CMake configure step.",
"scope": "resource"
},
"cmake.buildArguments": {
"type": "string",
"title": "Additional arguments for build",
"description": "Add additional arguments for the CMake build step.",
"scope": "resource"
},
"cmake.configureOnStart": {
"type": "boolean",
"title": "Configure on server start",
"description": "Configure the project on start.",
"scope": "window",
"default": true
},
"cmake.showConsoleAutomatically": {
"type": "boolean",
"title": "Automatically show CMake output",
"description": "Show the CMake output during configuration or build.",
"scope": "window",
"default": true
},
"cmake.reconfigureOnChange": {
"type": "boolean",
"title": "Reconfigure project on Change",
"description": "Reconfigure the project on change to the CMake files.",
"scope": "window",
"default": false
},
"cmake.default.generator": {
"type": "string",
"title": "Build System Generator",
"description": "Default build system generator.",
"scope": "resource",
"enum": [
"Ninja",
"Unix Makefiles",
"Borland Makefiles",
"MSYS Makefiles",
"MinGW Makefiles",
"NMake Makefiles",
"NMake Makefiles JOM",
"Watcom WMake",
"Visual Studio 6",
"Visual Studio 7",
"Visual Studio 7 .NET 2003",
"Visual Studio 8 2005",
"Visual Studio 9 2008",
"Visual Studio 10 2010",
"Visual Studio 11 2012",
"Visual Studio 12 2013",
"Visual Studio 14 2015",
"Visual Studio 15 2017",
"Visual Studio 16 2019",
"Xcode",
"Green Hills MULTI"
],
"default": "Ninja"
},
"cmake.default.extraGenerator": {
"type": "string",
"title": "Extra Generator",
"description": "Default extra generator for an auxiliary IDE tool.",
"scope": "resource",
"enum": [
"CodeBlocks",
"CodeLite",
"Eclipse CDT4",
"Kate",
"Sublime Text 2"
]
},
"cmake.default.buildDirectory": {
"type": "string",
"title": "Build Type",
"description": "Default build directory",
"scope": "resource",
"default": "${workspaceFolder}/build"
},
"cmake.default.cacheEntries": {
"type": "array",
"title": "Cache entries",
"description": "Default CMake cache entries added to the command line.",
"scope": "resource",
"default": [],
"items": {
"type": "object",
"title": "Cache entry",
"description": "A CMake cache entry",
"properties": {
"name": {
"type": "string",
"description": "Entry name"
},
"value": {
"type": "string",
"description": "Entry value"
},
"type": {
"type": "string",
"description": "Entry type",
"enum": [
"BOOL",
"FILEPATH",
"PATH",
"STRING",
"INTERNAL"
]
}
},
"required": [
"name",
"value"
]
}
},
"cmake.default.env": {
"type": "object",
"title": "Environment variables",
"description": "Default environment variables for CMake.",
"scope": "resource",
"additionalProperties": {
"type": "string"
}
},
"cmake.build.targetDependencies": {
"type": "array",
"title": "Target Dependencies",
"description": "Additional dependencies between different projects and targets.",
"scope": "window",
"items": {
"type": "object",
"properties": {
"project": {
"type": "string"
},
"target": {
"type": "string"
},
"dependencies": {
"type": "array",
"items": {
"type": "object",
"properties": {
"project": {
"type": "string"
},
"target": {
"type": "string"
}
},
"required": [
"project"
]
}
}
},
"required": [
"project",
"dependencies"
]
}
},
"cmake.build.workspaceTargets": {
"type": "array",
"title": "Workspace Targets",
"description": "Custom list of targets for build workspace command.",
"scope": "resource",
"items": {
"type": "object",
"properties": {
"project": {
"type": "string"
},
"target": {
"type": "string"
}
},
"required": [
"project"
]
}
},
"cmake.cpptools.globalBrowseTargets": {
"type": "array",
"title": "Global Browse Configuration Targets and Projects",
"description": "Projects and targets to include in the global Browse Configuration",
"scope": "window",
"items": {
"type": "object",
"properties": {
"project": {
"type": "string"
},
"target": {
"type": "string"
}
},
"required": [
"project"
]
}
},
"cmake.cpptools.browseTargets": {
"type": "array",
"title": "Workspace Browse Configuration Targets and Projects",
"description": "Projects and targets to include in the workspace browse configuration",
"scope": "resource",
"items": {
"type": "object",
"properties": {
"project": {
"type": "string"
},
"target": {
"type": "string"
}
},
"required": [
"project"
]
}
},
"cmake.cpptools.guessSourceFileConfigurations": {
"title": "Guess Source File Configurations",
"description": "Try to guess Source File Configurations based on target paths",
"type": "boolean",
"default": "true",
"scope": "resource"
},
"cmake.cpptools.compilerPath": {
"title": "Compiler path",
"description": "Compiler path reported to cpptools. Leave empty for auto detect.",
"type": "string",
"scope": "resource"
},
"cmake.cpptools.intelliSenseMode": {
"title": "IntelliSense mode",
"description": "IntelliSense mode reported to cpptools. Leave empty to auto detect.",
"type": "string",
"scope": "resource",
"enum": [
"msvc-x86",
"msvc-x64",
"gcc-x86",
"gcc-x64",
"clang-x86",
"clang-x64"
]
},
"cmake.cpptools.windowsSdkVersion": {
"title": "Windows SDK Version",
"description": "Windows SDK version reported to cpptools. Leave empty to auto detect.",
"type": "string",
"scope": "resource"
},
"cmake.cpptools.languageConfiguration.CXX": {
"type": "object",
"title": "C++ Language Configuration",
"description": "C++ specific configuration. Leave empty for auto detect.",
"scope": "resource",
"properties": {
"compilerPath": {
"type": "string",
"title": "Compiler path"
},
"intelliSenseMode": {
"type": "string",
"title": "IntelliSense mode",
"enum": [
"msvc-x86",
"msvc-x64",
"gcc-x86",
"gcc-x64",
"clang-x86",
"clang-x64"
]
}
}
},
"cmake.cpptools.languageConfiguration.C": {
"type": "object",
"title": "C Language Configuration",
"description": "C specific configuration. Leave empty for auto detect.",
"scope": "resource",
"properties": {
"compilerPath": {
"type": "string",
"title": "Compiler path"
},
"intelliSenseMode": {
"type": "string",
"title": "IntelliSense mode",
"enum": [
"msvc-x86",
"msvc-x64",
"gcc-x86",
"gcc-x64",
"clang-x86",
"clang-x64"
]
}
}
},
"cmake.cpptools.languageConfiguration.CUDA": {
"type": "object",
"title": "CUDA Language Configuration",
"description": "CUDA specific configuration. Leave empty for auto detect.",
"scope": "resource",
"properties": {
"compilerPath": {
"type": "string",
"title": "Compiler path"
},
"intelliSenseMode": {
"title": "IntelliSense mode",
"type": "string",
"enum": [
"msvc-x86",
"msvc-x64",
"gcc-x86",
"gcc-x64",
"clang-x86",
"clang-x64"
]
}
}
}
}
},
"keybindings": [
{
"command": "cmake.buildCurrentTarget",
"key": "F7"
},
{
"command": "cmake.buildTarget",
"key": "shift+F7"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "webpack --compile --mode production --config webpack.config.js",
"test-compile": "tsc -p ./",
"test-watch": "tsc --watch -p ./",
"watch": "webpack --watch --mode development --config webpack.config.js",
"test": "npm run compile && node ./node_modules/vscode/bin/test",
"docs:dev": "vuepress dev docs",
"docs:build": "vuepress build docs"
},
"devDependencies": {
"@types/chai": "^4.2.3",
"@types/glob": "^7.1.1",
"@types/mocha": "^5.2.5",
"@types/node": "^10.12.0",
"@types/sinon": "^7.0.12",
"@types/vscode": "1.32.0",
"@types/webpack": "^4.4.25",
"chai": "^4.2.0",
"glob": "^7.1.4",
"json-loader": "^0.5.7",
"mocha": "4",
"sinon": "^7.3.2",
"ts-loader": "^5.3.3",
"ts-node": "^8.4.1",
"tslint": "^5.12.0",
"typescript": "^3.2.0",
"typescript-tslint-plugin": "^0.3.1",
"vscode-jsonrpc": "^4.0.0",
"vscode-test": "^1.0.0",
"vuepress": "^1.2.0",
"webpack": "^4.29.6",
"webpack-cli": "^3.2.3"
},
"dependencies": {
"ajv": "^6.9.2",
"tree-kill": "^1.2.2",
"vscode-cpptools": "^3.0.0"
}
}