This commit is contained in:
timerix 2022-09-09 19:10:49 +06:00
parent e08da5f4a7
commit 5ceb60a581
4 changed files with 92 additions and 1 deletions

1
.gitignore vendored
View File

@ -5,7 +5,6 @@ obj/
# user files # user files
.old*/ .old*/
.vs/ .vs/
.vscode/
.vshistory/ .vshistory/
.editorconfig .editorconfig
*.user *.user

1
.vscode/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
settings.json

34
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,34 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "(gdb) Debug",
"type": "cppdbg",
"request": "launch",
"preLaunchTask": "build_exec_dbg",
"program": "${workspaceFolder}/bin/kerep.com",
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"externalConsole": true,
"internalConsoleOptions": "openOnSessionStart",
"miDebuggerPath": "/usr/bin/gdb",
"MIMode": "gdb",
"pipeTransport": {
"debuggerPath": "gdb",
"pipeProgram": "bash",
"pipeArgs": ["-c"],
"pipeCwd": "${workspaceFolder}"
}
},
{
"name": "(msvc) Debug",
"type": "cppvsdbg",
"request": "launch",
"preLaunchTask": "build_dbg",
"cwd": "${workspaceFolder}\\bin",
"program": "${workspaceFolder}\\bin\\kerep.com",
"stopAtEntry": false,
"console": "integratedTerminal"
}
]
}

57
.vscode/tasks.json vendored Normal file
View File

@ -0,0 +1,57 @@
{
"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",
"type": "cppbuild",
"command": "make",
"args": [
"build_exec_dbg"
],
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": ["$gcc"],
"group": {
"kind": "build"
},
"presentation": {
"echo": true,
"reveal": "always",
"focus": true,
"panel": "shared",
"showReuseMessage": false,
"clear": true
}
}
]
}