vscode-cmake-tools/package.json

1060 строки
33 KiB
JSON
Исходник Обычный вид История

{
2017-12-17 02:57:04 +03:00
"name": "cmake-tools",
"displayName": "CMake Tools",
"description": "Extended CMake support in Visual Studio Code",
2018-11-27 06:42:55 +03:00
"version": "1.1.3",
2017-12-17 02:57:04 +03:00
"repository": {
"type": "git",
"url": "https://github.com/vector-of-bool/vscode-cmake-tools"
},
"bugs": {
"url": "https://github.com/vector-of-bool/vscode-cmake-tools/issues"
},
"homepage": "https://github.com/vector-of-bool/vscode-cmake-tools",
"keywords": [
"cmake",
"tools",
"build",
"c++",
2018-07-20 11:02:45 +03:00
"native"
2017-12-17 02:57:04 +03:00
],
"publisher": "vector-of-bool",
"engines": {
"vscode": "^1.29.1"
2017-12-17 02:57:04 +03:00
},
"categories": [
"Other"
],
"galleryBanner": {
"color": "#13578c",
"theme": "dark"
},
"icon": "res/icon_128.png",
"activationEvents": [
"onCommand:cmake.build",
"onCommand:cmake.buildWithTarget",
"onCommand:cmake.clean",
"onCommand:cmake.cleanConfigure",
"onCommand:cmake.cleanRebuild",
"onCommand:cmake.configure",
"onCommand:cmake.ctest",
"onCommand:cmake.debugTarget",
"onCommand:cmake.editCache",
"onCommand:cmake.editKits",
"onCommand:cmake.viewLog",
2017-12-17 02:57:04 +03:00
"onCommand:cmake.install",
"onCommand:cmake.launchTarget",
"onCommand:cmake.launchTargetPath",
"onCommand:cmake.launchTargetDirectory",
"onCommand:cmake.buildType",
"onCommand:cmake.buildDirectory",
"onCommand:cmake.tasksBuildCommand",
2017-12-17 02:57:04 +03:00
"onCommand:cmake.quickStart",
"onCommand:cmake.resetState",
"onCommand:cmake.scanForKits",
"onCommand:cmake.selectLaunchTarget",
"onCommand:cmake.setVariant",
"onCommand:cmake.stop",
"onCommand:cmake.outline.configure",
"onCommand:cmake.outline.build",
"workspaceContains:**/CMakeLists.txt",
2018-04-23 10:22:04 +03:00
"workspaceContains:.vscode/cmake-kits.json"
2017-12-17 02:57:04 +03:00
],
"main": "./dist/main",
2017-12-17 02:57:04 +03:00
"contributes": {
"commands": [
{
"command": "cmake.viewLog",
2019-09-05 01:36:10 +03:00
"title": "%cmake-tools.command.cmake.viewLog.title%",
"category": "CMake"
},
2017-12-17 02:57:04 +03:00
{
"command": "cmake.editKits",
2019-09-05 01:36:10 +03:00
"title": "%cmake-tools.command.cmake.editKits.title%",
2017-12-17 02:57:04 +03:00
"category": "CMake"
},
{
"command": "cmake.scanForKits",
2019-09-05 01:36:10 +03:00
"title": "%cmake-tools.command.cmake.scanForKits.title%",
2017-12-17 02:57:04 +03:00
"category": "CMake"
},
{
"command": "cmake.selectKit",
2019-09-05 01:36:10 +03:00
"title": "%cmake-tools.command.cmake.selectKit.title%",
2017-12-17 02:57:04 +03:00
"category": "CMake"
},
{
"command": "cmake.setVariant",
2019-09-05 01:36:10 +03:00
"title": "%cmake-tools.command.cmake.setVariant.title%",
2017-12-17 02:57:04 +03:00
"category": "CMake"
},
{
"command": "cmake.configure",
2019-09-05 01:36:10 +03:00
"title": "%cmake-tools.command.cmake.configure.title%",
2017-12-17 02:57:04 +03:00
"category": "CMake"
},
{
"command": "cmake.outline.configure",
2019-09-05 01:36:10 +03:00
"title": "%cmake-tools.command.cmake.configure.title%",
"icon": {
"dark": "res/configure-icon.svg",
"light": "res/configure-icon.svg"
}
},
2017-12-17 02:57:04 +03:00
{
"command": "cmake.build",
2019-09-05 01:36:10 +03:00
"title": "%cmake-tools.command.cmake.build.title%",
2017-12-17 02:57:04 +03:00
"category": "CMake"
},
{
"command": "cmake.buildNamedTarget",
2019-09-05 01:36:10 +03:00
"title": "%cmake-tools.command.cmake.buildNamedTarget.title%"
},
{
"command": "cmake.outline.build",
2019-09-05 01:36:10 +03:00
"title": "%cmake-tools.command.cmake.build.title%",
"icon": {
"dark": "res/build-icon.svg",
"light": "res/build-icon.svg"
}
},
2018-07-08 07:14:40 +03:00
{
"command": "cmake.compileFile",
2019-09-05 01:36:10 +03:00
"title": "%cmake-tools.command.cmake.compileFile.title%",
2018-07-08 07:14:40 +03:00
"category": "CMake",
"icon": {
"dark": "res/build-icon.svg",
"light": "res/build-icon.svg"
}
},
{
"command": "cmake.outline.compileFile",
2019-09-05 01:36:10 +03:00
"title": "%cmake-tools.command.cmake.outline.compileFile.title%",
2018-07-08 07:14:40 +03:00
"icon": {
"dark": "res/build-icon.svg",
"light": "res/build-icon.svg"
}
},
2017-12-17 02:57:04 +03:00
{
"command": "cmake.install",
2019-09-05 01:36:10 +03:00
"title": "%cmake-tools.command.cmake.install.title%",
2017-12-17 02:57:04 +03:00
"category": "CMake"
},
{
"command": "cmake.buildWithTarget",
2019-09-05 01:36:10 +03:00
"title": "%cmake-tools.command.cmake.buildWithTarget.title%",
2017-12-17 02:57:04 +03:00
"category": "CMake"
},
{
"command": "cmake.setDefaultTarget",
2019-09-05 01:36:10 +03:00
"title": "%cmake-tools.command.cmake.setDefaultTarget.title%",
2017-12-17 02:57:04 +03:00
"category": "CMake"
},
{
"command": "cmake.cleanConfigure",
2019-09-05 01:36:10 +03:00
"title": "%cmake-tools.command.cmake.cleanConfigure.title%",
2017-12-17 02:57:04 +03:00
"category": "CMake"
},
{
"command": "cmake.outline.cleanConfigure",
2019-09-05 01:36:10 +03:00
"title": "%cmake-tools.command.cmake.outline.cleanConfigure.title%"
},
2017-12-17 02:57:04 +03:00
{
"command": "cmake.clean",
2019-09-05 01:36:10 +03:00
"title": "%cmake-tools.command.cmake.clean.title%",
2017-12-17 02:57:04 +03:00
"category": "CMake"
},
{
"command": "cmake.outline.clean",
2019-09-05 01:36:10 +03:00
"title": "%cmake-tools.command.cmake.clean.title%"
},
2017-12-17 02:57:04 +03:00
{
"command": "cmake.cleanRebuild",
2019-09-05 01:36:10 +03:00
"title": "%cmake-tools.command.cmake.cleanRebuild.title%",
2017-12-17 02:57:04 +03:00
"category": "CMake"
},
{
"command": "cmake.outline.cleanRebuild",
2019-09-05 01:36:10 +03:00
"title": "%cmake-tools.command.cmake.cleanRebuild.title%"
},
2017-12-17 02:57:04 +03:00
{
"command": "cmake.ctest",
2019-09-05 01:36:10 +03:00
"title": "%cmake-tools.command.cmake.ctest.title%",
2017-12-17 02:57:04 +03:00
"category": "CMake"
},
{
"command": "cmake.editCache",
2019-09-05 01:36:10 +03:00
"title": "%cmake-tools.command.cmake.editCache.title%",
2017-12-17 02:57:04 +03:00
"category": "CMake"
},
{
"command": "cmake.quickStart",
2019-09-05 01:36:10 +03:00
"title": "%cmake-tools.command.cmake.quickStart.title%",
2017-12-17 02:57:04 +03:00
"category": "CMake"
},
{
"command": "cmake.debugTarget",
2019-09-05 01:36:10 +03:00
"title": "%cmake-tools.command.cmake.debugTarget.title%",
2017-12-17 02:57:04 +03:00
"category": "CMake"
},
{
"command": "cmake.launchTarget",
2019-09-05 01:36:10 +03:00
"title": "%cmake-tools.command.cmake.launchTarget.title%",
2017-12-17 02:57:04 +03:00
"category": "CMake"
},
{
"command": "cmake.selectLaunchTarget",
2019-09-05 01:36:10 +03:00
"title": "%cmake-tools.command.cmake.selectLaunchTarget.title%",
2017-12-17 02:57:04 +03:00
"category": "CMake"
},
{
"command": "cmake.stop",
2019-09-05 01:36:10 +03:00
"title": "%cmake-tools.command.cmake.stop.title%",
2017-12-17 02:57:04 +03:00
"category": "CMake"
},
{
"command": "cmake.outline.stop",
2019-09-05 01:36:10 +03:00
"title": "%cmake-tools.command.cmake.outline.stop.title%",
"icon": {
"dark": "res/stop-icon.svg",
"light": "res/stop-icon.svg"
}
},
2017-12-17 02:57:04 +03:00
{
"command": "cmake.resetState",
2019-09-05 01:36:10 +03:00
"title": "%cmake-tools.command.cmake.resetState.title%",
2017-12-17 02:57:04 +03:00
"category": "CMake"
},
{
"command": "cmake.outline.buildTarget",
2019-09-05 01:36:10 +03:00
"title": "%cmake-tools.command.cmake.build.title%",
"icon": {
"dark": "res/build-icon.svg",
"light": "res/build-icon.svg"
}
},
{
"command": "cmake.outline.runUtilityTarget",
2019-09-05 01:36:10 +03:00
"title": "%cmake-tools.command.cmake.outline.runUtilityTarget.title%"
},
{
"command": "cmake.outline.debugTarget",
2019-09-05 01:36:10 +03:00
"title": "%cmake-tools.command.cmake.outline.debugTarget.title%"
},
{
"command": "cmake.outline.launchTarget",
2019-09-05 01:36:10 +03:00
"title": "%cmake-tools.command.cmake.outline.launchTarget.title%"
},
{
"command": "cmake.outline.setDefaultTarget",
2019-09-05 01:36:10 +03:00
"title": "%cmake-tools.command.cmake.outline.setDefaultTarget.title%"
},
{
"command": "cmake.outline.setLaunchTarget",
2019-09-05 01:36:10 +03:00
"title": "%cmake-tools.command.cmake.outline.setLaunchTarget.title%"
2018-06-25 03:10:24 +03:00
},
{
"command": "cmake.outline.revealInCMakeLists",
2019-09-05 01:36:10 +03:00
"title": "%cmake-tools.command.cmake.outline.revealInCMakeLists.title%"
2017-12-17 02:57:04 +03:00
}
],
2017-12-17 02:57:04 +03:00
"menus": {
"commandPalette": [
{
"command": "cmake.configure"
},
{
"command": "cmake.build"
},
{
"command": "cmake.install"
},
{
"command": "cmake.buildWithTarget"
},
2018-07-08 07:14:40 +03:00
{
"command": "cmake.compileFile"
},
2017-12-17 02:57:04 +03:00
{
"command": "cmake.setVariant"
},
{
"command": "cmake.setDefaultTarget"
},
{
"command": "cmake.setDefaultTarget"
},
{
"command": "cmake.cleanConfigure"
},
{
"command": "cmake.clean"
},
{
"command": "cmake.cleanRebuild"
},
{
"command": "cmake.ctest"
},
{
"command": "cmake.editCache"
},
{
"command": "cmake.debugTarget"
},
{
"command": "cmake.launchTarget"
},
{
"command": "cmake.selectLaunchTarget"
},
{
"command": "cmake.stop"
}
],
"view/title": [
{
"command": "cmake.outline.configure",
"when": "view == cmake.outline && !cmake:isBuilding",
"group": "navigation@1"
},
{
"command": "cmake.outline.build",
"when": "view == cmake.outline && !cmake:isBuilding",
"group": "navigation@2"
},
{
"command": "cmake.outline.stop",
"when": "view == cmake.outline && cmake:isBuilding",
"group": "navigation@3"
},
{
"command": "cmake.outline.clean",
"when": "view == cmake.outline",
"group": "1_cmakeOutline"
},
{
"command": "cmake.outline.cleanConfigure",
"when": "view == cmake.outline",
"group": "1_cmakeOutline"
},
{
"command": "cmake.outline.cleanRebuild",
"when": "view == cmake.outline",
"group": "1_cmakeOutline"
}
],
"view/item/context": [
{
"command": "cmake.outline.buildTarget",
"when": "view == cmake.outline && viewItem =~ /canBuild=true/",
"group": "inline"
},
{
"command": "cmake.outline.buildTarget",
"when": "view == cmake.outline && viewItem =~ /canBuild=true/",
"group": "1_targetActions@1"
},
{
"command": "cmake.outline.runUtilityTarget",
"when": "view == cmake.outline && viewItem =~ /canRun=true/",
"group": "1_targetActions@2"
},
{
"command": "cmake.outline.debugTarget",
"when": "view == cmake.outline && viewItem =~ /type=EXECUTABLE/",
"group": "1_targetActions@3"
},
{
"command": "cmake.outline.launchTarget",
"when": "view == cmake.outline && viewItem =~ /type=EXECUTABLE/",
"group": "1_targetActions@4"
},
2018-06-25 03:10:24 +03:00
{
"command": "cmake.outline.revealInCMakeLists",
"when": "view == cmake.outline && viewItem =~ /nodeType=target/",
"group": "1_targetActions@5"
},
{
"command": "cmake.outline.setDefaultTarget",
"when": "view == cmake.outline && viewItem =~ /canRun=true|canBuild=true/ && viewItem =~ /isDefault=false/",
"group": "2_targetState@1"
},
{
"command": "cmake.outline.setLaunchTarget",
"when": "view == cmake.outline && viewItem =~ /type=EXECUTABLE/ && viewItem =~ /isLaunch=false/",
"group": "2_targetState@2"
2018-07-08 07:14:40 +03:00
},
{
"command": "cmake.outline.compileFile",
"when": "view == cmake.outline && viewItem =~ /nodeType=file/",
"group": "inline"
}
],
"editor/title/context": [
{
"command": "cmake.compileFile",
"when": "resourceLangId == cpp"
},
{
"command": "cmake.compileFile",
"when": "resourceLangId == c"
}
],
"editor/title": [
{
"command": "cmake.compileFile",
"when": "resourceLangId == cpp",
"group": "navigation"
},
{
"command": "cmake.compileFile",
"when": "resourceLangId == c",
"group": "navigation"
}
],
"explorer/context": [
{
"command": "cmake.compileFile",
"when": "resourceLangId == cpp"
},
{
"command": "cmake.compileFile",
"when": "resourceLangId == c"
}
2017-12-17 02:57:04 +03:00
]
},
2017-12-17 02:57:04 +03:00
"configuration": {
"type": "object",
"title": "CMake Tools configuration",
"properties": {
2018-04-30 05:52:51 +03:00
"cmake.cmakePath": {
"type": "string",
"default": "cmake",
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.cmakePath.description%",
2018-04-30 05:52:51 +03:00
"scope": "resource"
},
2017-12-17 02:57:04 +03:00
"cmake.buildDirectory": {
"type": "string",
"default": "${workspaceRoot}/build",
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.buildDirectory.description%",
2018-04-30 05:52:51 +03:00
"scope": "resource"
2017-12-17 02:57:04 +03:00
},
"cmake.installPrefix": {
"type": "string",
"default": null,
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.installPrefix.description%",
2018-04-30 05:52:51 +03:00
"scope": "resource"
2017-12-17 02:57:04 +03:00
},
"cmake.sourceDirectory": {
"type": "string",
"default": "${workspaceRoot}",
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.sourceDirectory.description%",
2018-04-30 05:52:51 +03:00
"scope": "resource"
2017-12-17 02:57:04 +03:00
},
"cmake.saveBeforeBuild": {
"type": "boolean",
"default": true,
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.saveBeforeBuild.description%",
2018-04-30 05:52:51 +03:00
"scope": "resource"
2017-12-17 02:57:04 +03:00
},
"cmake.buildBeforeRun": {
"type": "boolean",
"default": true,
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.buildBeforeRun.description%",
2018-04-30 05:52:51 +03:00
"scope": "resource"
2017-12-17 02:57:04 +03:00
},
"cmake.clearOutputBeforeBuild": {
"type": "boolean",
"default": true,
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.clearOutputBeforeBuild.description%",
2018-04-30 05:52:51 +03:00
"scope": "resource"
2017-12-17 02:57:04 +03:00
},
"cmake.configureSettings": {
"type": "object",
"default": {},
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.configureSettings.description%",
2018-04-30 05:52:51 +03:00
"scope": "resource"
2017-12-17 02:57:04 +03:00
},
"cmake.cacheInit": {
"oneOf": [
{
"type": "string",
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.cacheInit.string.description%"
},
{
"type": "array",
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.cacheInit.array.description%",
"items": {
"type": "string",
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.cacheInit.array.string.description%"
}
}
],
2018-04-30 05:52:51 +03:00
"scope": "resource"
2017-12-17 02:57:04 +03:00
},
"cmake.preferredGenerators": {
"type": "array",
"default": [
"Ninja",
"Unix Makefiles"
],
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.preferredGenerators.description%",
2018-04-30 05:52:51 +03:00
"scope": "resource"
2017-12-17 02:57:04 +03:00
},
"cmake.generator": {
"type": "string",
"default": null,
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.generator.description%",
2018-04-30 05:52:51 +03:00
"scope": "resource"
2017-12-17 02:57:04 +03:00
},
"cmake.toolset": {
"type": "string",
"default": null,
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.toolset.description%",
2018-04-30 05:52:51 +03:00
"scope": "resource"
2017-12-17 02:57:04 +03:00
},
"cmake.platform": {
"type": "string",
"default": null,
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.platform.description%",
2018-04-30 05:52:51 +03:00
"scope": "resource"
2017-12-17 02:57:04 +03:00
},
"cmake.configureArgs": {
"type": "array",
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.configureArgs.description%",
2017-12-17 02:57:04 +03:00
"items": {
"type": "string",
"title": "CMake Arguments"
},
2018-04-30 05:52:51 +03:00
"default": [],
"scope": "resource"
2017-12-17 02:57:04 +03:00
},
"cmake.buildArgs": {
"type": "array",
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.buildArgs.description%",
2017-12-17 02:57:04 +03:00
"items": {
"type": "string"
},
2018-04-30 05:52:51 +03:00
"default": [],
"scope": "resource"
2017-12-17 02:57:04 +03:00
},
"cmake.buildToolArgs": {
"type": "array",
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.buildToolArgs.description%",
2017-12-17 02:57:04 +03:00
"items": {
"type": "string"
},
2018-04-30 05:52:51 +03:00
"default": [],
"scope": "resource"
2017-12-17 02:57:04 +03:00
},
"cmake.parallelJobs": {
"type": "number",
"default": 0,
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.parallelJobs.description%",
2018-04-30 05:52:51 +03:00
"scope": "resource"
2017-12-17 02:57:04 +03:00
},
"cmake.ctestPath": {
"type": "string",
"default": null,
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.ctestPath.description%",
2018-04-30 05:52:51 +03:00
"scope": "resource"
2017-12-17 02:57:04 +03:00
},
"cmake.ctest.parallelJobs": {
"type": "number",
"default": 0,
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.ctest.parallelJobs.description%",
2018-04-30 05:52:51 +03:00
"scope": "resource"
2017-12-17 02:57:04 +03:00
},
"cmake.parseBuildDiagnostics": {
"type": "boolean",
"default": true,
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.parseBuildDiagnostics.description%",
2018-04-30 05:52:51 +03:00
"scope": "resource"
2017-12-17 02:57:04 +03:00
},
"cmake.enabledOutputParsers": {
"type": "array",
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.enabledOutputParsers.description%",
2017-12-17 02:57:04 +03:00
"items": {
"type": "string",
"enum": [
"cmake",
"gcc",
"gnuld",
"msvc",
"ghs"
]
},
"default": [
"cmake",
"gcc",
"gnuld",
"msvc",
"ghs"
2018-04-30 05:52:51 +03:00
],
"scope": "resource"
2017-12-17 02:57:04 +03:00
},
"cmake.debugConfig": {
"type": "object",
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.debugConfig.description%",
2017-12-17 02:57:04 +03:00
"properties": {
"symbolSearchPath": {
"type": "string",
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.debugConfig.symbolSearchPath.description%"
},
2017-12-17 02:57:04 +03:00
"additionalSOLibSearchPath": {
"type": "string",
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.debugConfig.additionalSOLibSearchPath.description%"
2016-04-17 06:33:53 +03:00
},
2017-12-17 02:57:04 +03:00
"externalConsole": {
"type": "boolean",
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.debugConfig.externalConsole.description%"
2016-04-17 06:33:53 +03:00
},
2017-12-17 02:57:04 +03:00
"logging": {
"type": "object",
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.debugConfig.logging.description%",
2017-12-17 02:57:04 +03:00
"properties": {
"exceptions": {
"type": "boolean",
"default": true
},
"moduleLoad": {
"type": "boolean",
"default": true
},
"programOutput": {
"type": "boolean",
"default": true
},
"engineLogging": {
"type": "boolean",
"default": false
},
"trace": {
"type": "boolean",
"default": false
},
"traceResponse": {
"type": "boolean",
"default": false
}
}
2016-04-17 06:33:53 +03:00
},
2017-12-17 02:57:04 +03:00
"visualizerFile": {
"type": "string",
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.debugConfig.visualizerFile.description%"
2016-04-17 06:33:53 +03:00
},
2017-12-17 02:57:04 +03:00
"args": {
"type": "array",
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.debugConfig.args.description%",
2017-12-17 02:57:04 +03:00
"items": {
"type": "string"
},
"default": []
2016-04-17 07:48:17 +03:00
},
2017-12-17 02:57:04 +03:00
"cwd": {
"type": "string",
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.debugConfig.cwd.description%"
},
2017-12-17 02:57:04 +03:00
"environment": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.debugConfig.environment.name.description%"
2017-12-17 02:57:04 +03:00
},
"value": {
"type": "string",
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.debugConfig.environment.value.description%"
2017-12-17 02:57:04 +03:00
}
}
}
},
2017-12-17 02:57:04 +03:00
"MIMode": {
"type": "string",
"enum": [
"gdb",
"lldb"
]
},
2017-12-17 02:57:04 +03:00
"miDebuggerPath": {
"type": "string",
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.debugConfig.miDebuggerPath.description%"
2016-11-17 08:26:13 +03:00
},
2017-12-17 02:57:04 +03:00
"stopAtEntry": {
"type": "boolean",
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.debugConfig.stopAtEntry.description%",
2017-12-17 02:57:04 +03:00
"default": false
},
2017-12-17 02:57:04 +03:00
"setupCommands": {
"type": "array",
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.debugConfig.setupCommands.description%",
2017-12-17 02:57:04 +03:00
"items": {
"type": "object",
"properties": {
"text": {
"type": "string",
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.debugConfig.setupCommands.text.description%"
2017-12-17 02:57:04 +03:00
},
"description": {
"type": "string",
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.debugConfig.setupCommands.description.description%"
2017-12-17 02:57:04 +03:00
},
"ignoreFailures": {
"type": "boolean",
2017-12-17 02:57:04 +03:00
"default": false
}
}
}
},
"customLaunchSetupCommands": {
"type": "array",
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.debugConfig.setupCommands.description%",
2017-12-17 02:57:04 +03:00
"items": {
"type": "object",
"properties": {
"text": {
"type": "string",
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.debugConfig.setupCommands.text.description%"
2017-12-17 02:57:04 +03:00
},
"description": {
"type": "string",
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.debugConfig.setupCommands.description.description%"
2017-12-17 02:57:04 +03:00
},
"ignoreFailures": {
"type": "boolean",
2017-12-17 02:57:04 +03:00
"default": false
}
}
2017-12-17 02:57:04 +03:00
}
},
2017-12-17 02:57:04 +03:00
"launchCompleteCommand": {
"type": "string"
},
2017-12-17 02:57:04 +03:00
"dumpPath": {
"type": "string"
},
2017-12-17 02:57:04 +03:00
"coreDumpPath": {
"type": "string"
}
2018-04-30 05:52:51 +03:00
},
"scope": "resource"
2017-12-17 02:57:04 +03:00
},
"cmake.defaultVariants": {
"type": "object",
2019-09-05 01:36:10 +03:00
"$schema": "cmake-tools-schema://schemas/variants-schema.json",
2017-12-17 02:57:04 +03:00
"default": {
"buildType": {
2018-06-05 22:13:41 +03:00
"default": "debug",
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.defaultVariants.buildType.description%",
2018-06-05 22:13:41 +03:00
"choices": {
"debug": {
"short": "Debug",
2019-09-05 01:36:10 +03:00
"long": "%cmake-tools.configuration.cmake.defaultVariants.buildType.debug.long%",
2018-06-05 22:13:41 +03:00
"buildType": "Debug"
},
"release": {
"short": "Release",
2019-09-06 20:33:34 +03:00
"long": "%cmake-tools.configuration.cmake.defaultVariants.buildType.release.long%",
2018-06-05 22:13:41 +03:00
"buildType": "Release"
},
"minsize": {
"short": "MinSizeRel",
2019-09-05 01:36:10 +03:00
"long": "%cmake-tools.configuration.cmake.defaultVariants.buildType.minsize.long%",
2018-06-05 22:13:41 +03:00
"buildType": "MinSizeRel"
},
"reldeb": {
"short": "RelWithDebInfo",
2019-09-05 01:36:10 +03:00
"long": "%cmake-tools.configuration.cmake.defaultVariants.buildType.reldeb.long%",
2018-06-05 22:13:41 +03:00
"buildType": "RelWithDebInfo"
}
2017-12-17 02:57:04 +03:00
}
}
2018-04-30 05:52:51 +03:00
},
"scope": "resource"
2017-12-17 02:57:04 +03:00
},
"cmake.ctestArgs": {
"type": "array",
"items": {
"type": "string"
},
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.ctestArgs.description%",
2018-04-30 05:52:51 +03:00
"default": [],
"scope": "resource"
2017-12-17 02:57:04 +03:00
},
"cmake.environment": {
"type": "object",
"default": {},
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.environment.description%",
2017-12-17 02:57:04 +03:00
"additionalProperties": {
"type": "string",
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.environment.additionalProperties.description%"
2018-04-30 05:52:51 +03:00
},
"scope": "resource"
2017-12-17 02:57:04 +03:00
},
"cmake.configureEnvironment": {
"type": "object",
"default": {},
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.configureEnvironment.description%",
2017-12-17 02:57:04 +03:00
"additionalProperties": {
"type": "string",
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.environment.additionalProperties.description%"
2018-04-30 05:52:51 +03:00
},
"scope": "resource"
2017-12-17 02:57:04 +03:00
},
"cmake.buildEnvironment": {
"type": "object",
"default": {},
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.buildEnvironment.description%",
2017-12-17 02:57:04 +03:00
"additionalProperties": {
"type": "string",
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.environment.additionalProperties.description%"
2018-04-30 05:52:51 +03:00
},
"scope": "resource"
2017-12-17 02:57:04 +03:00
},
"cmake.testEnvironment": {
"type": "object",
"default": {},
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.testEnvironment.description%",
2017-12-17 02:57:04 +03:00
"additionalProperties": {
"type": "string",
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.environment.additionalProperties.description%"
2018-04-30 05:52:51 +03:00
},
"scope": "resource"
2017-12-17 02:57:04 +03:00
},
"cmake.mingwSearchDirs": {
"type": "array",
"items": {
"type": "string",
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.searchDirs.items.description%"
2017-12-17 02:57:04 +03:00
},
"default": [
"C:\\MinGW"
],
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.mingwSearchDirs.description%",
2018-04-30 05:52:51 +03:00
"scope": "window"
2017-12-17 02:57:04 +03:00
},
"cmake.emscriptenSearchDirs": {
"type": "array",
"items": {
"type": "string",
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.searchDirs.items.description%"
2017-12-17 02:57:04 +03:00
},
"default": [],
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.emscriptenSearchDirs.description%",
2018-04-30 05:52:51 +03:00
"scope": "window"
2017-12-17 02:57:04 +03:00
},
"cmake.copyCompileCommands": {
"type": "string",
"default": null,
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.copyCompileCommands.description%",
"scope": "resource"
},
"cmake.configureOnOpen": {
"type": "boolean",
"default": null,
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.configureOnOpen.description%",
"scope": "resource"
},
2017-12-17 02:57:04 +03:00
"cmake.useCMakeServer": {
"type": "boolean",
"default": true,
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.useCMakeServer.description%",
2018-04-30 05:52:51 +03:00
"scope": "resource"
},
"cmake.ignoreKitEnv": {
"type": "boolean",
"default": false,
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.ignoreKitEnv.description%",
"scope": "resource"
},
"cmake.buildTask": {
"type": "boolean",
"default": false,
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.buildTask.description%",
"scope": "resource"
2017-12-17 02:57:04 +03:00
},
"cmake.outputLogEncoding": {
"type": "string",
"default": "auto",
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.outputLogEncoding.description%",
"scope": "window"
},
2017-12-17 02:57:04 +03:00
"cmake.enableTraceLogging": {
"type": "boolean",
"default": false,
2019-09-05 01:36:10 +03:00
"description": "%cmake-tools.configuration.cmake.enableTraceLogging.description%",
2018-04-30 05:52:51 +03:00
"scope": "window"
2017-12-17 02:57:04 +03:00
},
"cmake.loggingLevel": {
"type": "string",
"default": "info",
"enum": [
"trace",
"debug",
"info",
"note",
"warning",
"error",
"fatal"
2018-04-30 05:52:51 +03:00
],
"scope": "window"
},
"cmake.revealLog": {
"type": "string",
"default": "always",
"enum": [
"focus",
"always",
"never"
]
2017-12-17 02:57:04 +03:00
}
}
},
2017-12-17 02:57:04 +03:00
"keybindings": [
{
"key": "f7",
"command": "cmake.build"
},
{
"key": "shift+f7",
"command": "cmake.buildWithTarget"
},
{
"key": "ctrl+f5",
"command": "cmake.debugTarget",
"when": "!inDebugMode"
},
{
"key": "shift+f5",
"command": "cmake.launchTarget"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "cmake__viewContainer",
"title": "CMake",
"icon": "res/cmake-view-icon.svg",
"when": "cmakeToolsActive"
}
]
},
"views": {
"cmake__viewContainer": [
{
"id": "cmake.folders",
2019-09-05 01:36:10 +03:00
"name": "%cmake-tools.configuration.views.cmake.folders.description%",
"when": "cmakeToolsMultiRootActive"
},
{
"id": "cmake.outline",
2019-09-05 01:36:10 +03:00
"name": "%cmake-tools.configuration.views.cmake.outline.description%",
"when": "cmakeToolsActive"
}
]
},
2017-12-17 02:57:04 +03:00
"yamlValidation": [
{
"fileMatch": "cmake-variants.yaml",
2019-09-05 01:36:10 +03:00
"url": "cmake-tools-schema://schemas/variants-schema.json"
2017-12-17 02:57:04 +03:00
}
],
"jsonValidation": [
{
"fileMatch": "cmake-variants.json",
2019-09-05 01:36:10 +03:00
"url": "cmake-tools-schema://schemas/variants-schema.json"
2017-12-17 02:57:04 +03:00
},
{
"fileMatch": "cmake-variants.yaml",
2019-09-05 01:36:10 +03:00
"url": "cmake-tools-schema://schemas/variants-schema.json"
2017-12-17 02:57:04 +03:00
},
{
"fileMatch": "cmake-kits.json",
2019-09-05 01:36:10 +03:00
"url": "cmake-tools-schema://schemas/kits-schema.json"
2017-12-17 02:57:04 +03:00
}
]
},
2018-03-26 03:51:21 +03:00
"_moduleAliases": {
"@cmt": "out/src/",
"@test": "out/test/"
},
2017-12-17 02:57:04 +03:00
"scripts": {
2019-09-05 01:36:10 +03:00
"vscode:prepublish": "yarn run compile-production",
"compile": "yarn install && webpack --mode development --watch --info-verbosity verbose",
"compile-production": "yarn install && yarn run translations-generate && webpack --mode production --vscode-nls",
"translations-export": "gulp translations-export",
"translations-generate": "gulp translations-generate",
"translations-import": "gulp translations-import",
"pretest": "tsc -p test.tsconfig.json",
2017-12-17 02:57:04 +03:00
"postinstall": "node ./node_modules/vscode/bin/install",
2018-03-04 01:29:58 +03:00
"lint": "node ./node_modules/tslint/bin/tslint -p . --fix",
2018-03-17 10:02:26 +03:00
"lint:nofix": "node ./node_modules/tslint/bin/tslint -p .",
"docs": "node ./node_modules/typedoc/bin/typedoc --mode modules --excludeExternals --out build/docs/dev --readme none src/ types/"
2017-12-17 02:57:04 +03:00
},
"devDependencies": {
2019-09-24 04:22:03 +03:00
"@octokit/rest": "^16.28.9",
2017-12-17 02:57:04 +03:00
"@types/ajv": "^0.0.3",
"@types/chai": "^4.0.4",
"@types/chai-as-promised": "^7.1.0",
Restructuring of the cmake driver (#707) * Replace workspace path read from vscode to constructor variable - The workspace is read from vscode, this makes it hard to refactor cms-driver to test compiler integration on a lower level. The workspace needed to be set by a higher level, to make low level driver independent of vscode ui and data structures. - Make non public function protected. * Replaced pickGenerator by variable for generator The cms client normally started a pick call in the UI. This modification moves the questions infront of the start. This removes the required callback from cms client. * Clean up CMake Build Start Problem UI interaction The CMake Driver has many dependencies to UI. This modification moves the dependencies from CMakeDriver into cmake-tools. This allows to test the driver without UI interaction. - Move quickstart and missing source dir warning - Remove not required configuration setting `autoRestartBuild` I was not able to bring the driver into a state where two builds run in parallel. The `CMakePreconditionProblemSolver` never signals `busy` CMake. - Change visability of some do methods in cms-driver. * Fix working path getter * Fix parallel clean and configure on driver level The parallel execution of cmake configure is allowed by the driver. This modification will forbid a parallel configuration. * Move selection of prefered generator The prefered generators are extracted by the cmake drive from configuration, kit files or settings. This modification moves the aggregation of different prefered generator out of the driver into the cmake tools. This allows to defines exact preferred generators for testing (no hidden dependency). The driver only checks the prefered generator list, if there is more then one then the first existing generator is selected. - Fix wrong preferred generator definition in test - Extend debug information * Remove toolset dependency in cms-client The CMS Server client had a dependency to configuration reader to read the toolset. For my this is a inconsistent information. Only the toolset was from config file but not the platform. * Add cms driver test for linux * Fix problem with invalid preferred generator * Add tests for reconfiguration and generator switch * Harmonize cleanConfigure with configure in driver. * Remove Workspace state dependency from driver This modification reduces the dependency of the cmake driver layer to the workspace context. This modification allows to setup low level CMake driver tests, so that the driver code could be tested with different cmake versions. The UI parts can then tested with a driver mock, or by system tests. - Replace DirectoryContext by ConfigurationReader - Moved access to DirectoryContext state by setter funcions (setVarianOptions). This allows to set variant in a consistent way. - Reduces fakes from tests * Clean up and fix variant naming * Extract cmake flags generation out of configure method for readability * Stabilize tests and reformat code * Set timeout for teardown of driver * Fix some errors * Restructure drivers * Move cmake server client driver part * Added tests and fix some review issues - Rename typos and style issues - Add test for no parallel build - Add variable to monitor running build task in driver - Add new precondion value to create message on already running task * Fix missing break
2019-08-31 00:22:01 +03:00
"@types/chai-string": "^1.4.1",
2017-12-17 02:57:04 +03:00
"@types/es6-promisify": "~5.0.0",
2019-09-05 01:36:10 +03:00
"@types/follow-redirects": "^1.8.0",
2017-12-17 02:57:04 +03:00
"@types/js-yaml": "^3.5.28",
"@types/json5": "~0.0.29",
2017-12-17 02:57:04 +03:00
"@types/mocha": "~2.2.41",
"@types/node": "~8.9.3",
2017-12-17 02:57:04 +03:00
"@types/rimraf": "^0.0.28",
2018-05-11 08:36:49 +03:00
"@types/sinon": "~4.3.3",
"@types/tmp": "^0.0.33",
"@types/which": "~1.3.1",
2017-12-17 02:57:04 +03:00
"@types/xml2js": "^0.0.28",
"chai": "^4.1.2",
"chai-as-promised": "^7.1.1",
Restructuring of the cmake driver (#707) * Replace workspace path read from vscode to constructor variable - The workspace is read from vscode, this makes it hard to refactor cms-driver to test compiler integration on a lower level. The workspace needed to be set by a higher level, to make low level driver independent of vscode ui and data structures. - Make non public function protected. * Replaced pickGenerator by variable for generator The cms client normally started a pick call in the UI. This modification moves the questions infront of the start. This removes the required callback from cms client. * Clean up CMake Build Start Problem UI interaction The CMake Driver has many dependencies to UI. This modification moves the dependencies from CMakeDriver into cmake-tools. This allows to test the driver without UI interaction. - Move quickstart and missing source dir warning - Remove not required configuration setting `autoRestartBuild` I was not able to bring the driver into a state where two builds run in parallel. The `CMakePreconditionProblemSolver` never signals `busy` CMake. - Change visability of some do methods in cms-driver. * Fix working path getter * Fix parallel clean and configure on driver level The parallel execution of cmake configure is allowed by the driver. This modification will forbid a parallel configuration. * Move selection of prefered generator The prefered generators are extracted by the cmake drive from configuration, kit files or settings. This modification moves the aggregation of different prefered generator out of the driver into the cmake tools. This allows to defines exact preferred generators for testing (no hidden dependency). The driver only checks the prefered generator list, if there is more then one then the first existing generator is selected. - Fix wrong preferred generator definition in test - Extend debug information * Remove toolset dependency in cms-client The CMS Server client had a dependency to configuration reader to read the toolset. For my this is a inconsistent information. Only the toolset was from config file but not the platform. * Add cms driver test for linux * Fix problem with invalid preferred generator * Add tests for reconfiguration and generator switch * Harmonize cleanConfigure with configure in driver. * Remove Workspace state dependency from driver This modification reduces the dependency of the cmake driver layer to the workspace context. This modification allows to setup low level CMake driver tests, so that the driver code could be tested with different cmake versions. The UI parts can then tested with a driver mock, or by system tests. - Replace DirectoryContext by ConfigurationReader - Moved access to DirectoryContext state by setter funcions (setVarianOptions). This allows to set variant in a consistent way. - Reduces fakes from tests * Clean up and fix variant naming * Extract cmake flags generation out of configure method for readability * Stabilize tests and reformat code * Set timeout for teardown of driver * Fix some errors * Restructure drivers * Move cmake server client driver part * Added tests and fix some review issues - Rename typos and style issues - Add test for no parallel build - Add variable to monitor running build task in driver - Add new precondion value to create message on already running task * Fix missing break
2019-08-31 00:22:01 +03:00
"chai-string": "^1.5.0",
"clang-format": "^1.2.2",
2019-09-05 01:36:10 +03:00
"event-stream": "^4.0.1",
2019-09-24 04:22:03 +03:00
"fs-extra": "^8.1.0",
2019-09-05 01:36:10 +03:00
"gulp": "^4.0.2",
"gulp-filter": "^6.0.0",
"gulp-sourcemaps": "^2.6.5",
"gulp-typescript": "^5.0.1",
"jsonc-parser": "^2.1.1",
"minimist": "^1.2.0",
"mocha": "^4.1.0",
"module-alias": "^2.2.1",
2018-05-11 08:36:49 +03:00
"sinon": "~5.0.7",
2019-09-05 01:36:10 +03:00
"ts-loader": "^6.0.4",
"ts-node": "^6.0.0",
"tslint": "^5.9.1",
"typedoc": "^0.14.2",
"typescript": "~3.2.2",
2019-09-05 01:36:10 +03:00
"vscode": "^1.1.35",
"vscode-nls-dev": "^3.2.6",
"webpack": "^4.39.2",
"webpack-cli": "^3.3.7"
2017-12-17 02:57:04 +03:00
},
"dependencies": {
"ajv": "^4.7.5",
"es6-promisify": "~5.0.0",
"follow-redirects": "^1.5.10",
"iconv-lite": "^0.4.21",
2017-12-17 02:57:04 +03:00
"js-yaml": "^3.6.1",
"json5": "^0.5.1",
"open": "^6.4.0",
2017-12-17 02:57:04 +03:00
"rimraf": "^2.5.4",
"tmp": "^0.0.33",
2019-08-31 02:48:49 +03:00
"vscode-cpptools": "^3.0.1",
2019-09-05 01:36:10 +03:00
"vscode-nls": "^4.1.1",
"vscode-extension-telemetry": "^0.1.2",
"which": "~1.3.0",
"xml2js": "^0.4.17"
},
"resolutions": {
"marked": "^0.7.0",
"diff": "^3.5.0"
2017-12-17 02:57:04 +03:00
}
}