vscode-cmake-tools/package.json

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

{
"name": "cmake-tools",
"displayName": "CMake Tools",
"description": "Extended CMake support in Visual Studio Code",
2016-09-18 01:56:06 +03:00
"version": "0.4.0",
"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",
2016-04-17 01:09:16 +03:00
"c++",
"native"
],
2016-04-17 01:09:24 +03:00
"publisher": "vector-of-bool",
"engines": {
"vscode": "^0.10.10"
},
"categories": [
"Other"
],
"galleryBanner": {
"color": "#13578c",
"theme": "dark"
},
"icon": "res/icon.svg",
"activationEvents": [
"onCommand:cmake.configure",
"onCommand:cmake.build",
"onCommand:cmake.install",
"onCommand:cmake.buildWithTarget",
"onCommand:cmake.setBuildType",
"onCommand:cmake.setDefaultTarget",
"onCommand:cmake.cleanConfigure",
"onCommand:cmake.clean",
"onCommand:cmake.cleanRebuild",
"onCommand:cmake.ctest",
2016-04-17 07:48:17 +03:00
"onCommand:cmake.jumpToCacheFile",
"onCommand:cmake.quickStart",
"workspaceContains:CMakeLists.txt"
],
"main": "./out/src/extension",
"contributes": {
2016-04-17 06:33:53 +03:00
"commands": [
{
"command": "cmake.configure",
2016-08-02 06:34:10 +03:00
"title": "Configure",
"category": "CMake"
2016-04-17 06:33:53 +03:00
},
{
"command": "cmake.build",
2016-08-02 06:34:10 +03:00
"title": "Build",
"category": "CMake"
2016-04-17 06:33:53 +03:00
},
{
"command": "cmake.install",
"title": "Install",
"category": "CMake"
},
2016-04-17 06:33:53 +03:00
{
"command": "cmake.buildWithTarget",
2016-08-02 06:34:10 +03:00
"title": "Build a target",
"category": "CMake"
2016-04-17 06:33:53 +03:00
},
{
"command": "cmake.setBuildType",
2016-08-02 06:34:10 +03:00
"title": "Set build type",
"category": "CMake"
2016-04-17 06:33:53 +03:00
},
{
"command": "cmake.setDefaultTarget",
2016-08-02 06:34:10 +03:00
"title": "Set the default build target",
"category": "CMake"
},
{
2016-04-17 06:33:53 +03:00
"command": "cmake.cleanConfigure",
2016-08-02 06:34:10 +03:00
"title": "Delete cached build settings and reconfigure",
"category": "CMake"
2016-04-17 06:33:53 +03:00
},
{
"command": "cmake.clean",
2016-08-02 06:34:10 +03:00
"title": "Clean",
"category": "CMake"
2016-04-17 06:33:53 +03:00
},
{
"command": "cmake.cleanRebuild",
2016-08-02 06:34:10 +03:00
"title": "Clean rebuild",
"category": "CMake"
2016-04-17 06:33:53 +03:00
},
{
"command": "cmake.ctest",
2016-08-02 06:34:10 +03:00
"title": "Run tests",
"category": "CMake"
2016-04-17 06:33:53 +03:00
},
{
"command": "cmake.jumpToCacheFile",
2016-08-02 06:34:10 +03:00
"title": "Edit the CMake Cache",
"category": "CMake"
2016-04-17 07:48:17 +03:00
},
{
"command": "cmake.quickStart",
2016-08-02 06:34:10 +03:00
"title": "Quick Start",
"category": "CMake"
2016-04-17 06:33:53 +03:00
}
],
"configuration": {
"type": "object",
"title": "CMake Tools configuration",
"properties": {
"cmake.buildDirectory": {
"type": "string",
"default": "${workspaceRoot}/build",
"description": "The directory where CMake build files will go"
},
"cmake.installPrefix": {
"type": "string",
"default": null,
"description": "The directory where CMake installed files will go."
},
"cmake.sourceDirectory": {
"type": "string",
"default": "${workspaceRoot}",
"description": "The directory of the root CMakeLists.txt file"
},
"cmake.saveBeforeBuild": {
"type": "boolean",
"default": true,
"description": "Save open files before building"
},
"cmake.clearOutputBeforeBuild": {
"type": "boolean",
"default": true,
"description": "Clear build output before each build"
},
"cmake.configureSettings": {
"type": "object",
"default": {},
"description": "CMake variables to set on the command line"
},
"cmake.initialBuildType": {
"type": "string",
"default": "Debug",
"description": "The default build type on first configuration"
},
"cmake.preferredGenerators": {
"type": "array",
"default": [
"Ninja",
"Unix Makefiles",
"MinGW Makefiles",
"NMake Makefiles"
],
"description": "The preferred CMake generator(s) to use when configuring (tried in order of listing)"
},
"cmake.parallelJobs": {
"type": "number",
"default": 0,
"description": "The number of parallel build jobs. Use zero to automatically detect the number of CPUs."
},
"cmake.ctest.parallelJobs": {
"type": "number",
"default": 0,
"description": "The number of parallel test jobs. Use zero to use the value of cmake.parallelJobs"
},
"cmake.cmakePath": {
"type": "string",
"default": "cmake",
"description": "The path to CMake generator executable"
}
}
},
"keybindings": [
{
"key": "f7",
"command": "cmake.build"
}
]
},
"scripts": {
"vscode:prepublish": "node ./node_modules/vscode/bin/compile",
"compile": "node ./node_modules/vscode/bin/compile -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install"
},
"devDependencies": {
"typescript": "^1.8.5",
"vscode": "^0.11.0"
}
}