138 lines
3.6 KiB
JSON
138 lines
3.6 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Configure",
|
|
"detail": "configure project",
|
|
"type": "shell",
|
|
"command": "cmake",
|
|
"args": [
|
|
"-H.",
|
|
"-Bbuild"
|
|
],
|
|
"group": "build",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": true,
|
|
"panel": "shared",
|
|
"showReuseMessage": true,
|
|
"clear": true
|
|
}
|
|
},
|
|
{
|
|
"label": "Build",
|
|
"detail": "Build project",
|
|
"dependsOn": [
|
|
"Configure"
|
|
],
|
|
"type": "shell",
|
|
"command": "make",
|
|
"args": [
|
|
"-C",
|
|
"build",
|
|
"-j$(nproc)"
|
|
],
|
|
"group": "build",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": true,
|
|
"panel": "shared",
|
|
"showReuseMessage": true,
|
|
"clear": true
|
|
}
|
|
},
|
|
{
|
|
"label": "Flash",
|
|
"detail": "Build and flash executable",
|
|
"type": "shell",
|
|
"dependsOn": [
|
|
"Configure"
|
|
],
|
|
"command": "make",
|
|
"args": [
|
|
"-C",
|
|
"build",
|
|
"-j$(nproc)",
|
|
"Flash"
|
|
],
|
|
"group": "build",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": true,
|
|
"panel": "shared",
|
|
"showReuseMessage": true,
|
|
"clear": true
|
|
}
|
|
},
|
|
{
|
|
"label": "Flash Access Point",
|
|
"detail": "Build and flash access point",
|
|
"type": "shell",
|
|
"dependsOn": [
|
|
"Configure"
|
|
],
|
|
"command": "make",
|
|
"args": [
|
|
"-C",
|
|
"build",
|
|
"-j$(nproc)",
|
|
"Flash_Access_Point"
|
|
],
|
|
"group": "build",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": true,
|
|
"panel": "shared",
|
|
"showReuseMessage": true,
|
|
"clear": true
|
|
}
|
|
},
|
|
{
|
|
"label": "Flash Station",
|
|
"detail": "Build and flash station",
|
|
"type": "shell",
|
|
"dependsOn": [
|
|
"Configure"
|
|
],
|
|
"command": "make",
|
|
"args": [
|
|
"-C",
|
|
"build",
|
|
"-j$(nproc)",
|
|
"Flash_Station"
|
|
],
|
|
"group": "build",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": true,
|
|
"panel": "shared",
|
|
"showReuseMessage": true,
|
|
"clear": true
|
|
}
|
|
},
|
|
{
|
|
"label": "Clean",
|
|
"detail": "Clean build directory and executable",
|
|
"type": "shell",
|
|
"command": "rm",
|
|
"args": [
|
|
"-rf",
|
|
"build"
|
|
],
|
|
"group": "build",
|
|
"presentation": {
|
|
"echo": false,
|
|
"reveal": "never",
|
|
"focus": false,
|
|
"panel": "shared",
|
|
"showReuseMessage": false,
|
|
"clear": true
|
|
}
|
|
}
|
|
]
|
|
} |