diff options
Diffstat (limited to '.vscode/tasks.json')
-rw-r--r-- | .vscode/tasks.json | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..7117c12 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,48 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "qmake", + "type": "shell", + "command": "qmake", + "args": [ + "CONFIG+=debug", + "../example/qhexedit.pro" + ], + "options": { + "cwd": "${workspaceFolder}/build" + } + }, + { + "label": "make", + "type": "shell", + "command": "make", + "args": ["-j", "12"], + "problemMatcher": [ + "$gcc" + ], + "options": { + "cwd": "${workspaceFolder}/build" + } + }, + { + "label": "make clean", + "type": "shell", + "command": "make", + "args": ["clean"], + "options": { + "cwd": "${workspaceFolder}/build" + } + }, + { + "label": "Build", + "dependsOn": ["qmake", "make"], + "group": { + "kind": "build", + "isDefault": true + } + } + ] +}
\ No newline at end of file |