From 5f96d86892a9c6ac1439925bccf93140b426d2e6 Mon Sep 17 00:00:00 2001 From: prozessorkern Date: Thu, 5 Dec 2019 22:45:41 +0100 Subject: [PATCH] added vscode config --- .vscode/launch.json | 29 +++++++++++++++++++++++++++++ .vscode/tasks.json | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 .vscode/launch.json create mode 100644 .vscode/tasks.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..11e0982 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,29 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "debug unittest", + "type": "cppdbg", + "request": "launch", + "program": "${workspaceFolder}/output/test/unittest/unittest", + "args": [], + "stopAtEntry": false, + "cwd": "${workspaceFolder}", + "environment": [], + "externalConsole": false, + "MIMode": "gdb", + "setupCommands": [ + { + "description": "Enable pretty-printing for gdb", + "text": "-enable-pretty-printing", + "ignoreFailures": true + } + ], + "preLaunchTask": "make test", + "miDebuggerPath": "/usr/bin/gdb" + } + ] +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..30e372f --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,40 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "make example", + "type": "shell", + "command": "make example", + "problemMatcher": [ + "$gcc" + ], + "group": { + "kind": "build", + "isDefault": true + } + }, + { + "label": "make clean", + "type": "shell", + "command": "make clean", + "problemMatcher": [ + "$gcc" + ], + "group": "build" + }, + { + "label": "make unittest", + "type": "shell", + "command": "make unittest", + "problemMatcher": [ + "$gcc" + ], + "group": { + "kind": "test", + "isDefault": true + } + } + ] +} \ No newline at end of file