vscode-cmake-tools/package.json

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

{
"name": "cmake-tools",
"displayName": "CMake Tools",
"description": "Extended CMake support in Visual Studio Code",
2016-05-11 18:10:12 +03:00
"version": "0.3.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.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",
"title": "CMake: Configure"
},
{
"command": "cmake.build",
"title": "CMake: Build"
},
{
"command": "cmake.buildWithTarget",
"title": "CMake: Build a target"
},
{
"command": "cmake.setBuildType",
"title": "CMake: Set build type"
},
{
"command": "cmake.setDefaultTarget",
"title": "CMake: Set the default build target"
},
{
2016-04-17 06:33:53 +03:00
"command": "cmake.cleanConfigure",
"title": "CMake: Delete cached build settings and reconfigure"
},
{
"command": "cmake.clean",
"title": "CMake: Clean"
},
{
"command": "cmake.cleanRebuild",
"title": "CMake: Clean rebuild"
},
{
"command": "cmake.ctest",
"title": "CTest: Run tests"
},
{
"command": "cmake.jumpToCacheFile",
"title": "CMake: Edit the CMake Cache"
2016-04-17 07:48:17 +03:00
},
{
"command": "cmake.quickStart",
"title": "CMake: Quick Start"
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"
}
}