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": [], "environment": [],
"externalConsole": true, "externalConsole": true,
"MIMode": "gdb", "MIMode": "gdb",
"preLaunchTask": "build", "preLaunchTask": "Build example_app",
"setupCommands": [ "setupCommands": [
{ {
"description": "Enable pretty-printing for gdb", "description": "Enable pretty-printing for gdb",

26
.vscode/tasks.json vendored
View File

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