update visual studio code configuration.

This commit is contained in:
2018-04-01 21:46:58 +02:00
parent 67a7d59f64
commit 9333d9b4ea
4 changed files with 60 additions and 27 deletions

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

@@ -0,0 +1,34 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"cwd": "${workspaceRoot}/_builds/x86_64_domo-debug/buidlroot/build",
"env": {
"test": "toto"
},
"tasks": [
{
"label": "X86_64 - cmake - domod",
"type": "shell",
"command": "cmake -DSRC_DIR=${workspaceRoot} -DCMAKE_BUILD_TYPE=Debug -DworkspaceRoot=${workspaceRoot} -DCMAKE_TOOLCHAIN_FILE=${workspaceRoot}/bsp/cmake-modules/toolchain-buildroot.cmake ${workspaceRoot}/src/prog/domod/builders/cmake",
"group": "build",
"presentation": {
"echo": true,
"reveal": "always"
}
},
{
"label": "X86_64 - make - domod",
"type": "shell",
"command": "make",
"group": "build",
"presentation": {
"echo": true,
"reveal": "always"
},
"problemMatcher": [
"$gcc"
]
}
]
}