mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 12:28:42 +00:00
46 lines
1.2 KiB
JSON
46 lines
1.2 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "build",
|
|
"type": "shell",
|
|
"options": {
|
|
"cwd": "${workspaceRoot}/build_dev"
|
|
},
|
|
"command": "make",
|
|
"args": ["-j4"],
|
|
"dependsOn": "cmake"
|
|
},
|
|
{
|
|
"label": "cmake",
|
|
"type": "shell",
|
|
"options": {
|
|
"cwd": "${workspaceRoot}/build_dev"
|
|
},
|
|
"command": "cmake",
|
|
"args": [
|
|
"${workspaceRoot}",
|
|
"-DCMAKE_EXPORT_COMPILE_COMMANDS=On",
|
|
"-DCMAKE_BUILD_TYPE=Debug",
|
|
"-DOPENDHT_PROXY_CLIENT=On",
|
|
"-DOPENDHT_PROXY_SERVER=On",
|
|
"-DOPENDHT_TESTS=On",
|
|
"-DOPENDHT_C=On"
|
|
],
|
|
"dependsOn": "builddir"
|
|
},
|
|
{
|
|
"label": "builddir",
|
|
"type": "shell",
|
|
"options": {
|
|
"cwd": "${workspaceRoot}"
|
|
},
|
|
"command": "mkdir",
|
|
"args": [
|
|
"-p",
|
|
"${workspaceRoot}/build_dev"
|
|
]
|
|
},
|
|
]
|
|
}
|