cmvr-es/.vscode/tasks.json

72 lines
1.9 KiB
JSON
Raw Permalink Normal View History

2026-03-17 15:59:25 +08:00
{
2026-07-02 08:29:19 +08:00
"version": "2.0.0",
2026-03-17 15:59:25 +08:00
"tasks": [
{
2026-07-02 08:29:19 +08:00
"label": "cmake: configure",
"type": "shell",
"command": "cmake",
2026-03-17 15:59:25 +08:00
"args": [
2026-07-02 08:29:19 +08:00
"-S",
"${workspaceFolder}",
"-B",
"${workspaceFolder}/build/vscode-debug",
"-DCMAKE_BUILD_TYPE=Debug",
"-DCMAKE_EXPORT_COMPILE_COMMANDS=ON"
2026-03-17 15:59:25 +08:00
],
2026-07-02 08:29:19 +08:00
"group": "build",
"problemMatcher": []
},
{
"label": "cmake: build",
"type": "shell",
"command": "cmake",
"args": [
"--build",
"${workspaceFolder}/build/vscode-debug",
"-j",
"8"
],
"dependsOn": [
"cmake: configure"
],
"group": {
"kind": "build",
"isDefault": true
2026-03-17 15:59:25 +08:00
},
"problemMatcher": [
"$gcc"
2026-07-02 08:29:19 +08:00
]
},
{
"label": "cmake: install",
"type": "shell",
"command": "cmake",
"args": [
"--install",
"${workspaceFolder}/build/vscode-debug",
"--verbose"
],
"dependsOn": [
"cmake: build"
2026-03-17 15:59:25 +08:00
],
"group": "build",
2026-07-02 08:29:19 +08:00
"problemMatcher": []
},
{
"label": "cmvr_es: run installed",
"type": "shell",
"command": "${workspaceFolder}/output/bin/cmvr_es",
"options": {
"cwd": "${workspaceFolder}/output/bin",
"env": {
"LD_LIBRARY_PATH": "${workspaceFolder}/output/lib:${env:LD_LIBRARY_PATH}"
}
},
"dependsOn": [
"cmake: install"
],
"problemMatcher": []
2026-03-17 15:59:25 +08:00
}
2026-07-02 08:29:19 +08:00
]
}