update vscode tasks

This commit is contained in:
2025-01-12 19:02:18 +01:00
parent f44c6f6914
commit 5d845cbecc
2 changed files with 18 additions and 28 deletions

32
.vscode/launch.json vendored
View File

@@ -2,30 +2,20 @@
"version": "2.0.0",
"configurations": [
{
"name": "(gdb) C Launch",
"type": "cppdbg",
"name": "(lldb) C Launch",
"type": "lldb",
"request": "launch",
"program": "${workspaceFolder}/build/linux-86_64/${workspaceFolderBasename}",
"program": "",
"linux": {
"program": "${workspaceFolder}/bin/linux-x86_64/sdl_template",
"preLaunchTask": "build linux-x86_64"
},
"windows": {
"program": "${workspaceFolder}/bin/win-x86_64/sdl_template",
"preLaunchTask": "build win-x86_64"
},
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"miDebuggerPath": "/usr/bin/gdb",
"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": "build linux86_64"
}
]
}

14
.vscode/tasks.json vendored
View File

@@ -2,10 +2,10 @@
"tasks": [
{
"type": "shell",
"label": "build linux86_64",
"command": "./build.sh",
"label": "build linux-x86_64",
"command": "make",
"args": [
"linux86_64"
"linux-x86_64"
],
"options": {
"cwd": "${workspaceFolder}"
@@ -21,10 +21,10 @@
},
{
"type": "shell",
"label": "build win86_64",
"command": "./build.sh",
"label": "build win-x86_64",
"command": "make",
"args": [
"win86_64"
"win-x86_64"
],
"options": {
"cwd": "${workspaceFolder}"
@@ -41,7 +41,7 @@
{
"type": "shell",
"label": "build web",
"command": "./build.sh",
"command": "make",
"args": [
"web"
],