mirror of
https://github.com/thepigeongenerator/tetris_clone.git
synced 2025-12-17 14:05:45 +01:00
- clean when makefile changes (ang generate compile_commands.json) - better handling for directory dependencies - reorganise code more - add dependency tracking so it triggers recompiles on header file changes
54 lines
1.3 KiB
JSON
54 lines
1.3 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"type": "shell",
|
|
"label": "build linux-x86_64",
|
|
"command": "make",
|
|
"args": [
|
|
"linux-x86_64"
|
|
],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"detail": "builds the program for linux x86_64"
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"label": "build win-x86_64",
|
|
"command": "make",
|
|
"args": [
|
|
"win-x86_64"
|
|
],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": false
|
|
},
|
|
"detail": "builds the program for windows x86_64"
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"label": "build web",
|
|
"command": "make",
|
|
"args": [
|
|
"web"
|
|
],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": false
|
|
},
|
|
"detail": "builds the program for web using emscripten"
|
|
}
|
|
]
|
|
}
|