Start creating a VSCode workspace

This commit is contained in:
Dirk Ziegelmeier
2018-10-02 20:50:37 +02:00
parent 730b3d3f86
commit 787a7bb919
3 changed files with 96 additions and 0 deletions

35
.vscode/tasks.json vendored Normal file
View File

@@ -0,0 +1,35 @@
{
// 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": {
"command": "cd ${workspaceFolder}/contrib/ports/win32/example_app/build && cmake --build ."
}
},
{
"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": {
"command": "cd ${workspaceFolder}/contrib/ports/win32/example_app && mkdir build && cd build && cmake .."
}
}
]
}