From f4506a064bd7de1952cb0668158b69a9935b3299 Mon Sep 17 00:00:00 2001 From: Eyck Jentzsch Date: Fri, 5 Apr 2024 08:41:47 +0200 Subject: [PATCH] adds vscode setup --- .vscode/launch.json | 25 +++++++++++++++++++++++++ .vscode/tasks.json | 16 ++++++++++++++++ 2 files changed, 41 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..fc26538 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,25 @@ +{ + // 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": "cci_param_restricted", + "type": "cppdbg", + "request": "launch", + "cwd": "${workspaceRoot}", + "program": "${workspaceRoot}/build/tests/cci_param_restricted/cci_param_restricted", + "linux": { + "MIMode": "gdb", + "miDebuggerPath": "/usr/bin/gdb" + }, + "setupCommands": [ + { + "description": "Enable pretty-printing for gdb", + "text": "-enable-pretty-printing", + "ignoreFailures": true + } + ], + "preLaunchTask": "CMake: build" + }] +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..8714fea --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,16 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "type": "cmake", + "label": "CMake: build", + "command": "build", + "targets": [ + "all" + ], + "group": "build", + "problemMatcher": ["$gcc"], + "detail": "CMake template build task", + } + ] +} \ No newline at end of file