{ // See https://go.microsoft.com/fwlink/?LinkId=733558 // for the documentation about the tasks.json format "version": "2.0.0", "options": { }, "tasks": [ { "label": "X86_64 - cmake - domod", "type": "shell", "command": "mkdir -p ${BUILD_DIR}/domo && cd ${BUILD_DIR}/domo && cmake -DMODULE_PATH=${workspaceRoot}/bsp/cmake-modules -DworkspaceRoot=${workspaceRoot} -DCMAKE_BUILD_TYPE=Debug -DCMAKE_TOOLCHAIN_FILE=${workspaceRoot}/bsp/cmake-modules/toolchain-buildroot.cmake ${workspaceRoot}/src/prog/domod/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 - domod", "options": { "cwd": "${workspaceRoot}/_builds/x86_64_domo-debug/buildroot/build/domo", }, "type": "shell", "command": "make", "group": "build", "presentation": { "echo": true, "reveal": "always" }, "problemMatcher": [ "$gcc" ] }, { "label": "X86_64 - cmake - libubus-cpp", "type": "shell", "command": "mkdir -p ${BUILD_DIR}/ubus-cpp && cd ${BUILD_DIR}/ubus-cpp && 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/ ${workspaceRoot}/src/lib/libubus-cpp/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 - libubus-cpp", "options": { "cwd": "${workspaceRoot}/_builds/x86_64_domo-debug/buildroot/build/ubus-cpp", }, "type": "shell", "command": "make install", "group": "build", "presentation": { "echo": true, "reveal": "always" }, "problemMatcher": [ "$gcc" ] }, ] }