From 6002ef8b39d901b1af00ecd1f319c4ca158641a8 Mon Sep 17 00:00:00 2001 From: syber007 Date: Mon, 16 Mar 2026 17:05:37 +0000 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B0=D0=B3=D1=80=D1=83=D0=B7=D0=B8?= =?UTF-8?q?=D1=82=D1=8C=20=D1=84=D0=B0=D0=B9=D0=BB=D1=8B=20=D0=B2=20=C2=AB?= =?UTF-8?q?/=C2=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- launch.json | 28 ++++++++++++++++++++++++++++ tasks.json | 27 +++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 launch.json create mode 100644 tasks.json diff --git a/launch.json b/launch.json new file mode 100644 index 0000000..c1ea10d --- /dev/null +++ b/launch.json @@ -0,0 +1,28 @@ +{ + // 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": [ + { + "type": "lldb", + "request": "launch", + "name": "clang++: build and launch active file", + "program": "${workspaceFolder}/a.exe", + "args": [], + "cwd": "${workspaceFolder}", + "console":"externalTerminal", + "preLaunchTask": "C/C++: clang++ build active file" + }, + { + "type": "lldb", + "request": "launch", + "name": "clang++: launch active file", + "program": "${workspaceFolder}/a.exe", + "args": [], + "cwd": "${workspaceFolder}", + "console":"externalTerminal" + } + + ] +} \ No newline at end of file diff --git a/tasks.json b/tasks.json new file mode 100644 index 0000000..01eae6f --- /dev/null +++ b/tasks.json @@ -0,0 +1,27 @@ +{ + "tasks": [ + { + "type": "cppbuild", + "label": "C/C++: clang++ build active file", + "command": "C:/Program Files/LLVM/bin/clang++.exe", + "args": [ + "-fcolor-diagnostics", + "-fansi-escape-codes", + "-g", + "${file}", + "-o", + "${fileDirname}/a.exe" + ], + "options": { + "cwd": "${fileDirname}" + }, + "problemMatcher": ["$gcc"], + "group": { + "kind": "build", + "isDefault": true + }, + "detail": "Task generated by Debugger." + } + ], + "version": "2.0.0" +}