2018-10-02 18:50:37 +00:00
|
|
|
{
|
|
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
|
|
// for the documentation about the tasks.json format
|
|
|
|
"version": "2.0.0",
|
|
|
|
"tasks": [
|
|
|
|
{
|
|
|
|
"label": "Build example_app",
|
|
|
|
"type": "shell",
|
2018-10-22 17:48:01 +00:00
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceFolder}/build"
|
|
|
|
},
|
2018-10-02 18:50:37 +00:00
|
|
|
"problemMatcher": "$gcc",
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
2018-10-22 17:48:01 +00:00
|
|
|
"command": "cmake --build ."
|
2018-10-02 18:50:37 +00:00
|
|
|
},
|
2018-10-27 20:35:54 +00:00
|
|
|
{
|
|
|
|
"label": "Build unit tests",
|
|
|
|
"type": "shell",
|
|
|
|
"problemMatcher": "$gcc",
|
|
|
|
"group": "build",
|
|
|
|
"linux": {
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceFolder}/contrib/ports/unix/check/build"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"windows": {
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceFolder}/contrib/ports/win32/check/build"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"command": "cmake --build ."
|
|
|
|
},
|
2018-10-02 18:50:37 +00:00
|
|
|
{
|
|
|
|
"label": "Configure example_app",
|
|
|
|
"type": "shell",
|
|
|
|
"problemMatcher": "$gcc",
|
|
|
|
"group": "build",
|
2018-10-22 17:48:01 +00:00
|
|
|
"command": "cd ${workspaceFolder}; mkdir build; cd build; cmake .."
|
2018-10-04 15:33:51 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Generate documentation",
|
|
|
|
"type": "shell",
|
|
|
|
"problemMatcher": [],
|
|
|
|
"group": "none",
|
2018-10-22 17:48:01 +00:00
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceFolder}/build"
|
2018-10-04 15:33:51 +00:00
|
|
|
},
|
2018-10-22 17:48:01 +00:00
|
|
|
"command": "cmake --build . --target lwipdocs"
|
2018-10-02 18:50:37 +00:00
|
|
|
}
|
|
|
|
]
|
2018-10-04 15:33:51 +00:00
|
|
|
}
|