Add VS Code build, launch, and IntelliSense configuration

This commit is contained in:
bart
2026-11-08 17:12:35 +01:00
parent abfac333eb
commit df6eac62ca
3 changed files with 132 additions and 0 deletions
+66
View File
@@ -0,0 +1,66 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Build",
"type": "shell",
"command": "qmake tiletest.pro && make -j$(nproc)",
"group": {
"kind": "build",
"isDefault": true
},
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": ["$gcc"]
},
{
"label": "qmake",
"type": "shell",
"command": "qmake tiletest.pro",
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": ["$gcc"]
},
{
"label": "make",
"type": "shell",
"command": "make -j$(nproc)",
"group": "build",
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": ["$gcc"]
},
{
"label": "Clean",
"type": "shell",
"command": "make clean",
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": []
},
{
"label": "Rebuild",
"type": "shell",
"command": "make clean && qmake tiletest.pro && make -j$(nproc)",
"group": "build",
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": ["$gcc"]
},
{
"label": "Run",
"type": "shell",
"command": "./tiletest",
"dependsOn": "Build",
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": []
}
]
}