From 6f7eb2ba50d2ae2b73f9abdf741bb46c57d0c84d Mon Sep 17 00:00:00 2001 From: timerix Date: Thu, 9 Feb 2023 00:16:47 +0600 Subject: [PATCH] launch.json --- .vscode/launch.json | 8 ++++---- .vscode/tasks.json | 26 -------------------------- 2 files changed, 4 insertions(+), 30 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 253788a..887a884 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -5,10 +5,10 @@ "name": "(gdb) Debug", "type": "cppdbg", "request": "launch", - "program": "$kerep.com", + "program": "${workspaceFolder}/bin/kerep.com", + "cwd": "${workspaceFolder}/bin", "preLaunchTask": "build_exec_dbg", "stopAtEntry": false, - "cwd": "${fileDirname}/bin", "externalConsole": false, "MIMode": "gdb", "miDebuggerPath": "gdb", @@ -31,8 +31,8 @@ "request": "launch", "preLaunchTask": "build_exec_dbg", "program": "${workspaceFolder}/bin/kerep.com", + "cwd": "${workspaceFolder}/bin", "stopAtEntry": false, - "cwd": "${workspaceFolder}", "externalConsole": false, "miDebuggerPath": "/usr/bin/gdb", "MIMode": "gdb", @@ -48,8 +48,8 @@ "type": "cppvsdbg", "request": "launch", "preLaunchTask": "build_dbg", - "cwd": "${workspaceFolder}\\bin", "program": "${workspaceFolder}\\bin\\kerep.com", + "cwd": "${workspaceFolder}\\bin", "stopAtEntry": false, "console": "integratedTerminal" } diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 7fb803b..f24315b 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -3,32 +3,6 @@ "version": "2.0.0", "tasks": [ - { - "label": "build_exec", - "detail": "build project", - "type": "cppbuild", - "command": "make", - "args": [ - "build_exec" - ], - "options": { - "cwd": "${workspaceFolder}" - }, - "problemMatcher": ["$gcc"], - "group": { - "kind": "build", - "isDefault": true - }, - "presentation": { - "echo": true, - "reveal": "always", - "focus": true, - "panel": "shared", - "showReuseMessage": false, - "clear": true - } - }, - { "label": "build_exec_dbg", "detail": "build project with debug symbols",