update template

This commit is contained in:
2024-12-02 10:37:46 +01:00
parent f1740e7e72
commit 9c5857e931
4 changed files with 108 additions and 13 deletions

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

@@ -0,0 +1,31 @@
{
"version": "2.0.0",
"configurations": [
{
"name": "(gdb) C Launch",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/build/linux-86_64/${workspaceFolderBasename}",
"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"
}
]
}

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

@@ -0,0 +1,62 @@
{
"tasks": [
{
"type": "shell",
"label": "build linux86_64",
"command": "./build.sh",
"args": [
"linux86_64"
],
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": [
"$gcc"
],
"group": {
"kind": "build",
"isDefault": true
},
"detail": "builds the program for linux x86_64"
},
{
"type": "shell",
"label": "build win86_64",
"command": "./build.sh",
"args": [
"win86_64"
],
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": [
"$gcc"
],
"group": {
"kind": "build",
"isDefault": false
},
"detail": "builds the program for windows x86_64"
},
{
"type": "shell",
"label": "build web",
"command": "./build.sh",
"args": [
"web"
],
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": [
"$gcc"
],
"group": {
"kind": "build",
"isDefault": false
},
"detail": "builds the program for web using emscripten"
}
],
"version": "2.0.0"
}