Initial drop of cppdap
This commit is contained in:
84
.vscode/tasks.json
vendored
Normal file
84
.vscode/tasks.json
vendored
Normal file
@@ -0,0 +1,84 @@
|
||||
{
|
||||
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||||
// for the documentation about the tasks.json format
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "make",
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
},
|
||||
"type": "shell",
|
||||
"command": "sh",
|
||||
"osx": {
|
||||
"args": [
|
||||
"-c",
|
||||
"cmake --build . && echo Done"
|
||||
]
|
||||
},
|
||||
"linux": {
|
||||
"args": [
|
||||
"-c",
|
||||
"cmake --build . && echo Done"
|
||||
]
|
||||
},
|
||||
"windows": {
|
||||
"args": [
|
||||
"-c",
|
||||
"cmake --build . && echo Done"
|
||||
]
|
||||
},
|
||||
"options": {
|
||||
"cwd": "${workspaceRoot}/build",
|
||||
},
|
||||
"presentation": {
|
||||
"echo": false,
|
||||
"reveal": "always",
|
||||
"focus": false,
|
||||
"panel": "shared",
|
||||
"showReuseMessage": false,
|
||||
"clear": true,
|
||||
},
|
||||
"problemMatcher": {
|
||||
"owner": "cpp",
|
||||
"fileLocation": "absolute",
|
||||
"pattern": {
|
||||
"regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
|
||||
"file": 1,
|
||||
"line": 2,
|
||||
"column": 3,
|
||||
"severity": 4,
|
||||
"message": 5
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "cmake",
|
||||
"type": "shell",
|
||||
"command": "sh",
|
||||
"args": [
|
||||
"-c",
|
||||
"mkdir build; cd build; cmake .. -GNinja -DCMAKE_BUILD_TYPE=${input:buildType} -DCPPDAP_BUILD_TESTS=1 -DCPPDAP_BUILD_EXAMPLES=1 -DCPPDAP_INSTALL_VSCODE_EXAMPLES=1 -DCPPDAP_WARNINGS_AS_ERRORS=1",
|
||||
],
|
||||
"options": {
|
||||
"cwd": "${workspaceRoot}"
|
||||
},
|
||||
"problemMatcher": [],
|
||||
},
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"id": "buildType",
|
||||
"type": "pickString",
|
||||
"options": [
|
||||
"Debug",
|
||||
"Release",
|
||||
"MinSizeRel",
|
||||
"RelWithDebInfo",
|
||||
],
|
||||
"default": "Debug",
|
||||
"description": "The type of build",
|
||||
},
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user