Files
shadowrun-server/.vscode/tasks.json
2026-02-17 17:48:37 +01:00

37 lines
1.1 KiB
JSON

{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"type": "shell",
"command": "cmake -S . -B build -DCMAKE_EXPORT_COMPILE_COMMANDS=ON && cmake --build build && cp build/compile_commands.json compile_commands.json",
"group": "build",
"problemMatcher": [
"$gcc"
]
},
{
"label": "build release",
"type": "shell",
"command": "cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMMANDS=ON && cmake --build build && cp build/compile_commands.json compile_commands.json ",
"group": "build",
"problemMatcher": [
"$gcc"
]
},
{
"label": "build Frontend",
"type": "shell",
"command": "npm run build",
"options": {
"cwd": "frontend"
}
},
{
"label": "clean",
"type": "shell",
"command": "rm -rf build/*",
"group": "build",
},
]
}