89 lines
2.2 KiB
JSON
89 lines
2.2 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "configure-debug",
|
|
"type": "shell",
|
|
"command": "cmake",
|
|
"args": [
|
|
"-S",
|
|
".",
|
|
"-B",
|
|
"out/build/linux-debug",
|
|
"-DCMAKE_BUILD_TYPE=Debug"
|
|
],
|
|
"problemMatcher": [
|
|
"$gcc"
|
|
]
|
|
},
|
|
{
|
|
"label": "build-debug",
|
|
"type": "shell",
|
|
"command": "cmake",
|
|
"args": [
|
|
"--build",
|
|
"out/build/linux-debug",
|
|
"--parallel",
|
|
"16",
|
|
"--target",
|
|
"anm2ed"
|
|
],
|
|
"dependsOn": "configure-debug",
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"problemMatcher": [
|
|
"$gcc"
|
|
]
|
|
},
|
|
{
|
|
"label": "run-debug",
|
|
"type": "shell",
|
|
"command": "./out/build/linux-debug/bin/anm2ed",
|
|
"dependsOn": "build-debug",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "configure-release",
|
|
"type": "shell",
|
|
"command": "cmake",
|
|
"args": [
|
|
"-S",
|
|
".",
|
|
"-B",
|
|
"out/build/linux-release",
|
|
"-DCMAKE_BUILD_TYPE=Release"
|
|
],
|
|
"problemMatcher": [
|
|
"$gcc"
|
|
]
|
|
},
|
|
{
|
|
"label": "build-release",
|
|
"type": "shell",
|
|
"command": "cmake",
|
|
"args": [
|
|
"--build",
|
|
"out/build/linux-release",
|
|
"--parallel",
|
|
"16",
|
|
"--target",
|
|
"anm2ed"
|
|
],
|
|
"dependsOn": "configure-release",
|
|
"group": "build",
|
|
"problemMatcher": [
|
|
"$gcc"
|
|
]
|
|
},
|
|
{
|
|
"label": "run-release",
|
|
"type": "shell",
|
|
"command": "./out/build/linux-release/bin/anm2ed",
|
|
"dependsOn": "build-release",
|
|
"problemMatcher": []
|
|
}
|
|
]
|
|
}
|