diff options
Diffstat (limited to '.vscode/tasks.json')
-rw-r--r-- | .vscode/tasks.json | 47 |
1 files changed, 37 insertions, 10 deletions
diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 9b4e080..07b0deb 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -1,12 +1,39 @@ { - // See https://go.microsoft.com/fwlink/?LinkId=733558 - // for the documentation about the tasks.json format - "version": "2.0.0", - "tasks": [ - { - "label": "first_run", - "type": "shell", - "command": "rm -f ${workspaceFolder}/build/package/last_db_read" - } - ] + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "first_run", + "type": "shell", + "command": "rm -f ${workspaceFolder}/build/package/last_db_read" + }, + { + "label": "Initial Build", + "type": "shell", + "command": "rm -rf build && mkdir -p build && cd build && pwd && cmake ..", + "problemMatcher": [ + "$gcc" + ] + }, + { + "label": "Build", + "type": "shell", + "command": "clear && cd build && make", + "presentation": { + "echo": true, + //"reveal": "silent", + "reveal": "always", + "focus": false, + "panel": "shared" + }, + "problemMatcher": [ + "$gcc" + ], + "group": { + "kind": "build", + "isDefault": true + } + } + ] } |