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",
|
|
|
|
"identifier": "build",
|
|
|
|
"type": "shell",
|
|
|
|
"problemMatcher": "$gcc",
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"linux": {
|
|
|
|
"command": "cd ${workspaceFolder}/contrib/ports/unix/example_app/build && cmake --build ."
|
|
|
|
},
|
|
|
|
"windows": {
|
2018-10-08 09:42:52 +00:00
|
|
|
"command": "cd ${workspaceFolder}/contrib/ports/win32/example_app/build; cmake --build ."
|
2018-10-02 18:50:37 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Configure example_app",
|
|
|
|
"type": "shell",
|
|
|
|
"problemMatcher": "$gcc",
|
|
|
|
"group": "build",
|
|
|
|
"linux": {
|
|
|
|
"command": "cd ${workspaceFolder}/contrib/ports/unix/example_app && mkdir build && cd build && cmake .."
|
|
|
|
},
|
|
|
|
"windows": {
|
2018-10-08 09:42:52 +00:00
|
|
|
"command": "cd ${workspaceFolder}/contrib/ports/win32/example_app; mkdir build; cd build; cmake .."
|
2018-10-02 18:50:37 +00:00
|
|
|
}
|
2018-10-04 15:33:51 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Generate documentation",
|
|
|
|
"type": "shell",
|
|
|
|
"problemMatcher": [],
|
|
|
|
"group": "none",
|
|
|
|
"linux": {
|
|
|
|
"command": "cd ${workspaceFolder}/contrib/ports/unix/example_app/build && cmake --build . --target lwipdocs"
|
|
|
|
},
|
|
|
|
"windows": {
|
2018-10-08 09:42:52 +00:00
|
|
|
"command": "cd ${workspaceFolder}/contrib/ports/win32/example_app/build; cmake --build . --target lwipdocs"
|
2018-10-04 15:33:51 +00:00
|
|
|
},
|
2018-10-02 18:50:37 +00:00
|
|
|
}
|
|
|
|
]
|
2018-10-04 15:33:51 +00:00
|
|
|
}
|