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