44 lines
1.2 KiB
JSON
44 lines
1.2 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Configure motor_control stm32f030",
|
|
"type": "shell",
|
|
"command": "cmake",
|
|
"args": [
|
|
"-S",
|
|
"${workspaceFolder}/app/motor_control/stm32f030",
|
|
"-B",
|
|
"${workspaceFolder}/app/motor_control/stm32f030/build",
|
|
"-DCMAKE_BUILD_TYPE=Debug"
|
|
],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Build motor_control stm32f030",
|
|
"type": "shell",
|
|
"command": "cmake",
|
|
"args": [
|
|
"--build",
|
|
"${workspaceFolder}/app/motor_control/stm32f030/build"
|
|
],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"dependsOn": [
|
|
"Configure motor_control stm32f030"
|
|
],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"problemMatcher": [
|
|
"$gcc"
|
|
]
|
|
}
|
|
]
|
|
}
|