42 lines
1.0 KiB
JSON
42 lines
1.0 KiB
JSON
|
{
|
||
|
"version": "2.0.0",
|
||
|
"tasks": [
|
||
|
{
|
||
|
"label": "Build",
|
||
|
"detail": "Build the program",
|
||
|
"command": "make",
|
||
|
"type": "shell",
|
||
|
"args": [],
|
||
|
"problemMatcher": [
|
||
|
"$gcc"
|
||
|
],
|
||
|
"presentation": {
|
||
|
"reveal": "always"
|
||
|
},
|
||
|
"options": {
|
||
|
"cwd": "${workspaceFolder}/build",
|
||
|
},
|
||
|
"group": "build"
|
||
|
},
|
||
|
{
|
||
|
"label": "Run",
|
||
|
"detail": "Run Compiled Program",
|
||
|
"command": "./BasicTutorial1",
|
||
|
"type": "shell",
|
||
|
"group": "build",
|
||
|
"options": {
|
||
|
"cwd": "${workspaceFolder}/build",
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"label": "Build & Run",
|
||
|
"detail": "Build program and run it",
|
||
|
"dependsOn":[
|
||
|
"Build",
|
||
|
"Run",
|
||
|
],
|
||
|
"dependsOrder": "sequence",
|
||
|
"group": "build"
|
||
|
},
|
||
|
]
|
||
|
}
|