Base config for C/C++ project

This commit is contained in:
2025-11-09 21:25:30 +01:00
commit c4e3ef77d1
7 changed files with 126 additions and 0 deletions

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

@@ -0,0 +1,35 @@
{
"tasks": [
{
"type": "shell",
"label": "clean",
"command": "del *.*",
"options": {
"cwd": "${workspaceFolder}\\build\\"
},
"detail": "Pulisci progetto",
"problemMatcher": [ ]
},
{
"type": "shell",
"label": "build",
"command": "cl.exe",
"args": [
"/Zi",
"/EHsc",
"/nologo",
"/Fe${workspaceFolder}\\build\\app.exe",
"${workspaceFolder}\\src\\*.cpp"
],
"options": {
"cwd": "${workspaceFolder}\\build"
},
"problemMatcher": [
"$msCompile"
],
"group": "build",
"detail": "Compila progetto"
}
],
"version": "2.0.0"
}