2016-04-17 00:43:13 +03:00
|
|
|
{
|
|
|
|
"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",
|
2016-04-17 00:43:13 +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",
|
2016-04-17 01:09:16 +03:00
|
|
|
"c++",
|
|
|
|
"native"
|
2016-04-17 00:43:13 +03:00
|
|
|
],
|
2016-04-17 01:09:24 +03:00
|
|
|
"publisher": "vector-of-bool",
|
2016-04-17 00:43:13 +03:00
|
|
|
"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",
|
2016-05-06 09:09:15 +03:00
|
|
|
"onCommand:cmake.setDefaultTarget",
|
2016-04-17 00:43:13 +03:00
|
|
|
"onCommand:cmake.cleanConfigure",
|
|
|
|
"onCommand:cmake.clean",
|
|
|
|
"onCommand:cmake.cleanRebuild",
|
2016-04-17 01:41:05 +03:00
|
|
|
"onCommand:cmake.ctest",
|
2016-04-17 07:48:17 +03:00
|
|
|
"onCommand:cmake.jumpToCacheFile",
|
2016-04-21 08:57:57 +03:00
|
|
|
"onCommand:cmake.quickStart",
|
|
|
|
"workspaceContains:CMakeLists.txt"
|
2016-04-17 00:43:13 +03:00
|
|
|
],
|
|
|
|
"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
|
|
|
},
|
|
|
|
{
|
2016-05-06 09:09:15 +03:00
|
|
|
"command": "cmake.setDefaultTarget",
|
2016-08-02 06:34:10 +03:00
|
|
|
"title": "Set the default build target",
|
|
|
|
"category": "CMake"
|
2016-05-06 09:09:15 +03:00
|
|
|
},
|
|
|
|
{
|
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
|
|
|
}
|
|
|
|
],
|
2016-04-17 00:43:13 +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"
|
|
|
|
},
|
2016-06-02 11:40:19 +03:00
|
|
|
"cmake.sourceDirectory": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "${workspaceRoot}",
|
|
|
|
"description": "The directory of the root CMakeLists.txt file"
|
|
|
|
},
|
2016-05-06 08:26:30 +03:00
|
|
|
"cmake.saveBeforeBuild": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
|
|
|
"description": "Save open files before building"
|
|
|
|
},
|
2016-05-06 08:26:01 +03:00
|
|
|
"cmake.clearOutputBeforeBuild": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true,
|
|
|
|
"description": "Clear build output before each build"
|
|
|
|
},
|
2016-04-17 00:43:13 +03:00
|
|
|
"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)"
|
2016-05-07 20:53:32 +03:00
|
|
|
},
|
2016-08-02 06:12:37 +03:00
|
|
|
"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"
|
|
|
|
},
|
2016-05-07 20:53:32 +03:00
|
|
|
"cmake.cmakePath": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "cmake",
|
|
|
|
"description": "The path to CMake generator executable"
|
2016-04-17 00:43:13 +03:00
|
|
|
}
|
|
|
|
}
|
2016-04-17 05:21:23 +03:00
|
|
|
},
|
|
|
|
"keybindings": [
|
|
|
|
{
|
|
|
|
"key": "f7",
|
|
|
|
"command": "cmake.build"
|
|
|
|
}
|
|
|
|
]
|
2016-04-17 00:43:13 +03:00
|
|
|
},
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
}
|