mirror of https://github.com/opencardev/aasdk
57 lines
1.4 KiB
JSON
57 lines
1.4 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Clean",
|
|
"command": "sudo rm -R build",
|
|
"type": "shell",
|
|
"args": [],
|
|
"problemMatcher": [
|
|
"$tsc"
|
|
],
|
|
"presentation": {
|
|
"reveal": "always"
|
|
},
|
|
"group": "build"
|
|
},
|
|
{
|
|
"label": "Build",
|
|
"command": "mkdir build;cd build;cmake -DCMAKE_BUILD_TYPE=Release ../",
|
|
"type": "shell",
|
|
"args": [],
|
|
"problemMatcher": [
|
|
"$tsc"
|
|
],
|
|
"presentation": {
|
|
"reveal": "always"
|
|
},
|
|
"group": "build"
|
|
},
|
|
{
|
|
"label": "Create DEB Package",
|
|
"command": "cd build;cpack --config CPackConfig.cmake",
|
|
"type": "shell",
|
|
"args": [],
|
|
"problemMatcher": [
|
|
"$tsc"
|
|
],
|
|
"presentation": {
|
|
"reveal": "always"
|
|
},
|
|
"group": "build"
|
|
},
|
|
{
|
|
"label": "Create DEB SRC Package",
|
|
"command": "cd build;cpack --config CPackSourceConfig.cmake",
|
|
"type": "shell",
|
|
"args": [],
|
|
"problemMatcher": [
|
|
"$tsc"
|
|
],
|
|
"presentation": {
|
|
"reveal": "always"
|
|
},
|
|
"group": "build"
|
|
}
|
|
]
|
|
} |