2025-01-04 14:30:25 +01:00
|
|
|
{
|
|
|
|
"version": "2.0.0",
|
|
|
|
"tasks": [
|
|
|
|
{
|
|
|
|
"label": "build main.c",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "/usr/bin/gcc",
|
|
|
|
"args": [
|
|
|
|
"-g",
|
2025-01-04 18:24:13 +01:00
|
|
|
"-Wall",
|
2025-01-04 14:30:25 +01:00
|
|
|
"main.c",
|
|
|
|
"-o",
|
|
|
|
"a.out"
|
|
|
|
],
|
|
|
|
"group": "build",
|
|
|
|
"problemMatcher": [
|
|
|
|
"$gcc"
|
|
|
|
],
|
|
|
|
"detail": "Build the main.c file using gcc"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "build main_logging.c",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "/usr/bin/gcc",
|
|
|
|
"args": [
|
|
|
|
"-g",
|
2025-01-04 18:24:13 +01:00
|
|
|
"-Wall",
|
2025-01-04 14:30:25 +01:00
|
|
|
"main_logging.c",
|
|
|
|
"-o",
|
|
|
|
"a.out"
|
|
|
|
],
|
|
|
|
"group": "build",
|
|
|
|
"problemMatcher": [
|
|
|
|
"$gcc"
|
|
|
|
],
|
|
|
|
"detail": "Build the main_logging.c file using gcc"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|