mirror of
https://github.com/opencardev/aasdk.git
synced 2024-07-07 12:23:48 +02:00
eb53d31c1d
Added build to .gitignore Added vscode tasks to clean, build, package Added CPack support for debian packages
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"
|
|
}
|
|
]
|
|
} |