Feature: Add debug configuration for Microsoft VS Code
This commit is contained in:
109
.vscode/tasks.json
vendored
Normal file
109
.vscode/tasks.json
vendored
Normal file
@@ -0,0 +1,109 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Build Yama (Debug x64)",
|
||||
"type": "shell",
|
||||
"command": "powershell",
|
||||
"args": [
|
||||
"-NoProfile",
|
||||
"-ExecutionPolicy",
|
||||
"Bypass",
|
||||
"-File",
|
||||
"${workspaceFolder}\\.vscode\\build.ps1",
|
||||
"-Target",
|
||||
"Yama",
|
||||
"-Configuration",
|
||||
"Debug",
|
||||
"-Platform",
|
||||
"x64"
|
||||
],
|
||||
"problemMatcher": [
|
||||
"$msCompile"
|
||||
],
|
||||
"group": "build",
|
||||
"presentation": {
|
||||
"reveal": "silent",
|
||||
"panel": "dedicated",
|
||||
"clear": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "Build ghost (Debug x64)",
|
||||
"type": "shell",
|
||||
"command": "powershell",
|
||||
"args": [
|
||||
"-NoProfile",
|
||||
"-ExecutionPolicy",
|
||||
"Bypass",
|
||||
"-File",
|
||||
"${workspaceFolder}\\.vscode\\build.ps1",
|
||||
"-Target",
|
||||
"ghost",
|
||||
"-Configuration",
|
||||
"Debug",
|
||||
"-Platform",
|
||||
"x64"
|
||||
],
|
||||
"problemMatcher": [
|
||||
"$msCompile"
|
||||
],
|
||||
"group": "build",
|
||||
"presentation": {
|
||||
"reveal": "silent",
|
||||
"panel": "dedicated",
|
||||
"clear": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "Build TestRun (Debug x64)",
|
||||
"type": "shell",
|
||||
"command": "powershell",
|
||||
"args": [
|
||||
"-NoProfile",
|
||||
"-ExecutionPolicy",
|
||||
"Bypass",
|
||||
"-File",
|
||||
"${workspaceFolder}\\.vscode\\build.ps1",
|
||||
"-Target",
|
||||
"TestRun",
|
||||
"-Configuration",
|
||||
"Debug",
|
||||
"-Platform",
|
||||
"x64"
|
||||
],
|
||||
"problemMatcher": [
|
||||
"$msCompile"
|
||||
],
|
||||
"group": "build",
|
||||
"presentation": {
|
||||
"reveal": "silent",
|
||||
"panel": "dedicated",
|
||||
"clear": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "Build ghost (Linux WSL)",
|
||||
"type": "process",
|
||||
"command": "wsl",
|
||||
"args": [
|
||||
"-e",
|
||||
"bash",
|
||||
"-c",
|
||||
"cmake -DCMAKE_BUILD_TYPE=Debug . && make -j$(nproc)"
|
||||
],
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}\\linux"
|
||||
},
|
||||
"problemMatcher": [
|
||||
"$gcc"
|
||||
],
|
||||
"group": "build",
|
||||
"presentation": {
|
||||
"reveal": "always",
|
||||
"panel": "dedicated",
|
||||
"clear": true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user