57 lines
1.4 KiB
JSON
57 lines
1.4 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "CMake",
|
|
"detail": "Produce MakeFile",
|
|
"command": [
|
|
"cmake"
|
|
],
|
|
"type": "shell",
|
|
"args": [
|
|
".."
|
|
],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/build"
|
|
},
|
|
"group": "build"
|
|
},
|
|
{
|
|
"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": "./BasicTutorial",
|
|
"type": "shell",
|
|
"group": "build",
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/build"
|
|
}
|
|
},
|
|
{
|
|
"label": "Build & Run",
|
|
"detail": "Build program and run it",
|
|
"dependsOn": [
|
|
"Build",
|
|
"Run"
|
|
],
|
|
"dependsOrder": "sequence",
|
|
"group": "build"
|
|
},
|
|
]
|
|
} |