update project configure (add compiation and debug of rest plugin)

This commit is contained in:
2018-04-24 22:35:24 +02:00
parent f2a9e3c9c7
commit ee95971a32
2 changed files with 61 additions and 2 deletions

34
.vscode/tasks.json vendored
View File

@@ -85,5 +85,37 @@
"$gcc"
]
},
{
"label": "X86_64 - cmake - uhttpd-rest-api",
"type": "shell",
"command": "mkdir -p ${BUILD_DIR}/uhttpd-rest-api && cd ${BUILD_DIR}/uhttpd-rest-api && cmake -DMODULE_PATH=${workspaceRoot}/bsp/cmake-modules -DworkspaceRoot=${workspaceRoot} -DCMAKE_BUILD_TYPE=Debug -DCMAKE_TOOLCHAIN_FILE=${workspaceRoot}/bsp/cmake-modules/toolchain-buildroot.cmake -DCMAKE_INSTALL_PREFIX=${workspaceRoot}/_builds/x86_64_domo-debug/buildroot/staging/usr/ ${workspaceRoot}/src/plugins/uhttpd/uhttpd-rest-api/builders/cmake",
"group": "build",
"options": {
"env": {
"BUILD_DIR": "${workspaceRoot}/_builds/x86_64_domo-debug/buildroot/build/"
}
},
"presentation": {
"echo": true,
"reveal": "always"
},
"problemMatcher": []
},
{
"label": "X86_64 - make - uhttpd-rest-api",
"options": {
"cwd": "${workspaceRoot}/_builds/x86_64_domo-debug/buildroot/build/uhttpd-rest-api",
},
"type": "shell",
"command": "make install",
"group": "build",
"presentation": {
"echo": true,
"reveal": "always"
},
"problemMatcher": [
"$gcc"
]
}
]
}
}