update project configure (add compiation and debug of rest plugin)
This commit is contained in:
34
.vscode/tasks.json
vendored
34
.vscode/tasks.json
vendored
@@ -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"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user