Permalink
Browse files

Update VS Code configuration

  • Loading branch information...
jhasse committed Sep 7, 2018
1 parent 5fa97fb commit bc92730f2cb2ced7e48d4c8962c110edd159fbf9
Showing with 33 additions and 5 deletions.
  1. +3 −0 .gitignore
  2. +10 −2 .vscode/launch.json
  3. +20 −3 .vscode/tasks.json
View
@@ -17,3 +17,6 @@ install/windows/source
install/windows/*.exe
.vscode/*.db
/.vscode/*cache*/
/_build/
/_install/
/compile_commands.json
View
@@ -1,13 +1,21 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "gdb",
"request": "launch",
"name": "Launch Program",
"target": "./wxformbuilder",
"cwd": "${workspaceRoot}/_install/bin",
"valuesFormatting": "prettyPrinters"
},
{
"type": "lldb",
"request": "launch",
"name": "Launch",
"program": "${workspaceRoot}/output/bin/wxformbuilder-30",
"program": "${workspaceRoot}/_install/bin/wxformbuilder",
"args": [],
"cwd": "${workspaceRoot}/output/bin",
"cwd": "${workspaceRoot}/_install/bin",
"preLaunchTask": "build"
}
]
View
@@ -6,10 +6,27 @@
"type": "shell",
"command": "/bin/bash",
"args": [
"-c", "clear && make config=debug -j$(nproc)"
"-lc",
"clear && cd \"\"${workspaceRoot}\"\" && ([ -f _build/build.ninja ] || meson _build) && ninja -C _build install"
],
"options": {
"cwd": "build/3.0/gmake"
"problemMatcher": {
"owner": "cpp",
"fileLocation": [
"relative",
"${workspaceRoot}/build"
],
"pattern": {
"regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error|fatal error):\\s+(.*)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
}
},
"group": {
"kind": "build",
"isDefault": true
}
}
]

0 comments on commit bc92730

Please sign in to comment.