Files
anm2ed/.vscode/tasks.json

42 lines
1.5 KiB
JSON

{
"version": "2.0.0",
"tasks": [
{
"label": "run-debug",
"type": "shell",
"command": "cmake -S . -B out/build/linux-debug -DCMAKE_BUILD_TYPE=Debug && cmake --build out/build/linux-debug --parallel 8 --target anm2ed && ./out/build/linux-debug/anm2ed",
"problemMatcher": [
"$gcc"
]
},
{
"label": "build",
"type": "shell",
"command": "cmake -S . -B out/build/linux-debug -DCMAKE_BUILD_TYPE=Debug && cmake --build out/build/linux-debug --parallel 8 --target anm2ed",
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": [
"$gcc"
]
},
{
"label": "run-release",
"type": "shell",
"command": "cmake -S . -B out/build/linux-release -DCMAKE_BUILD_TYPE=Release && cmake --build out/build/linux-release --parallel 8 --target anm2ed && ./out/build/linux-release/anm2ed",
"problemMatcher": [
"$gcc"
]
},
{
"label": "build-release",
"type": "shell",
"command": "cmake -S . -B out/build/linux-release -DCMAKE_BUILD_TYPE=Release && cmake --build out/build/linux-release --parallel 8 --target anm2ed",
"group": "build",
"problemMatcher": [
"$gcc"
]
}
]
}