VSCode cleanups

This commit is contained in:
Dirk Ziegelmeier 2018-10-22 19:48:01 +02:00
parent f53932d7ca
commit 3aef9c5305
2 changed files with 9 additions and 19 deletions

2
.vscode/launch.json vendored
View File

@ -13,7 +13,7 @@
"environment": [],
"externalConsole": true,
"MIMode": "gdb",
"preLaunchTask": "build",
"preLaunchTask": "Build example_app",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",

26
.vscode/tasks.json vendored
View File

@ -5,43 +5,33 @@
"tasks": [
{
"label": "Build example_app",
"identifier": "build",
"type": "shell",
"options": {
"cwd": "${workspaceFolder}/build"
},
"problemMatcher": "$gcc",
"group": {
"kind": "build",
"isDefault": true
},
"linux": {
"command": "cd ${workspaceFolder}/build && cmake --build ."
},
"windows": {
"command": "cd ${workspaceFolder}/build; cmake --build ."
}
"command": "cmake --build ."
},
{
"label": "Configure example_app",
"type": "shell",
"problemMatcher": "$gcc",
"group": "build",
"linux": {
"command": "cd ${workspaceFolder} && mkdir build && cd build && cmake .."
},
"windows": {
"command": "cd ${workspaceFolder}; mkdir build; cd build; cmake .."
}
"command": "cd ${workspaceFolder}; mkdir build; cd build; cmake .."
},
{
"label": "Generate documentation",
"type": "shell",
"problemMatcher": [],
"group": "none",
"linux": {
"command": "cd ${workspaceFolder}/build && cmake --build . --target lwipdocs"
},
"windows": {
"command": "cd ${workspaceFolder}/build; cmake --build . --target lwipdocs"
"options": {
"cwd": "${workspaceFolder}/build"
},
"command": "cmake --build . --target lwipdocs"
}
]
}