From 256556e1f8bfe717815bd56e2600cb4739aed0b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophyl=20Hoguet?= Date: Fri, 10 Dec 2021 14:36:41 +0100 Subject: [PATCH] pushed settings and launch .vscode --- .vscode/launch.json | 35 +++++++++++++++++++++++++++++++++++ .vscode/settings.json | 7 +++++++ 2 files changed, 42 insertions(+) create mode 100644 .vscode/launch.json create mode 100644 .vscode/settings.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..4617c19 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,35 @@ +{ + // 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": "(gdb) debug tests thoguet", + "type": "cppdbg", + "request": "launch", + "program": "${workspaceFolder}/build/game_test_thoguet", + "args": [ + "game_default_solution" + ], + "stopAtEntry": false, + "cwd": "${fileDirname}", + "environment": [], + "externalConsole": false, + "MIMode": "gdb", + "setupCommands": [ + { + "description": "Enable pretty-printing for gdb", + "text": "-enable-pretty-printing", + "ignoreFailures": true + }, + { + "description": "Set Disassembly Flavor to Intel", + "text": "-gdb-set disassembly-flavor intel", + "ignoreFailures": true + } + ], + "preLaunchTask": "make_build" + } + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..7441b23 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,7 @@ +{ + "files.associations": { + "game_ext.h": "c", + "game.h": "c" + }, + "editor.formatOnSave": true +} \ No newline at end of file