32 lines
809 B
JSON
32 lines
809 B
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "make",
|
|
"type": "shell",
|
|
"command": "make",
|
|
"group": { "kind": "build", "isDefault": true },
|
|
"problemMatcher": ["$gcc"]
|
|
},
|
|
{
|
|
"label": "make clean",
|
|
"type": "shell",
|
|
"command": "make clean",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "make (clang)",
|
|
"type": "shell",
|
|
"command": "make clean && make CC=clang",
|
|
"problemMatcher": ["$gcc"]
|
|
},
|
|
{
|
|
"label": "valgrind",
|
|
"type": "shell",
|
|
"command": "valgrind --leak-check=full ./build/hello",
|
|
"dependsOn": "make",
|
|
"problemMatcher": []
|
|
}
|
|
]
|
|
}
|