Files
tetris_clone/.vscode/tasks.json
Quinn 28916f899b make heavy changes to makefile
- 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
2025-01-20 21:50:31 +01:00

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"
}
]
}