diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000000000000000000000000000000000000..a41ac8d8a1d52131631aad14d178fe7fb710c4af --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,34 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "command": "make", + "isShellCommand": true, + "tasks": [ + { + "taskName": "Makefile", + + // Make this the default build command. + "isBuildCommand": true, + + // Show the output window only if unrecognized errors occur. + "showOutput": "always", + + // Pass 'all' as the build target + "args": ["all"], + + // Use the standard less compilation problem matcher. + "problemMatcher": { + "owner": "cpp", + "fileLocation": ["relative", "${workspaceRoot}"], + "pattern": { + "regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$", + "file": 1, + "line": 2, + "column": 3, + "severity": 4, + "message": 5 + } + } + ] +} \ No newline at end of file