From 6e29a1e9605a5abfeac19dc1a785694cd101b8c6 Mon Sep 17 00:00:00 2001 From: Corentin Jabot Date: Fri, 17 Sep 2021 15:09:44 +0200 Subject: [PATCH] Add vscode configuration --- .gitignore | 4 +++- .vscode/launch.json | 29 +++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 .vscode/launch.json diff --git a/.gitignore b/.gitignore index 90f86ca..f8c6fbf 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ -vcpkg/* \ No newline at end of file +vcpkg/ +CMakeLists.txt.user +build diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..29e8ede --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,29 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": "Debug", + "type": "cppdbg", + "request": "launch", + "program": "${command:cmake.launchTargetPath}", + "args": [], + "stopAtEntry": true, + "cwd": "${command:cmake.launchTargetDirectory}", + "environment": [ + { + "name": "PATH", + "value": "$PATH:${command:cmake.launchTargetDirectory}" + } + ], + "externalConsole": false, + "MIMode": "gdb", + "setupCommands": [ + { + "description": "Enable pretty-printing for gdb", + "text": "-enable-pretty-printing", + "ignoreFailures": true + } + ] + } + ] +} \ No newline at end of file