vscode-cmake-tools/package.json

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

{
"name": "cmake-tools",
"displayName": "CMake Tools",
"description": "Extended CMake support in Visual Studio Code",
2016-08-02 06:28:15 +03:00
"version": "0.3.1",
"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.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.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.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": {
"CMAKE_EXPORT_COMPILE_COMMANDS": true,
"BUILD_TESTING": true
},
"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/test jobs. Use zero to automatically detect the number of CPUs."
},
"cmake.setClangFlags": {
"type": "boolean",
"default": true,
"description": "Set the C and C++ flags for Clang for the vscode-clang extension"
},
"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"
}
}