mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 12:28:42 +00:00
204 lines
5.6 KiB
JSON
204 lines
5.6 KiB
JSON
{
|
|
"version": 2,
|
|
"configurePresets": [
|
|
{
|
|
"name": "default",
|
|
"binaryDir": "${sourceDir}/build",
|
|
"hidden": true
|
|
},
|
|
{
|
|
"name": "unix-make",
|
|
"description": "Unix Makefiles",
|
|
"generator": "Unix Makefiles",
|
|
"inherits": "default",
|
|
"cacheVariables": {
|
|
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
|
|
}
|
|
},
|
|
{
|
|
"name": "ninja",
|
|
"generator": "Ninja",
|
|
"inherits": "default",
|
|
"cacheVariables": {
|
|
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
|
"OPENDHT_PROXY_CLIENT": true,
|
|
"OPENDHT_PROXY_SERVER": true,
|
|
"OPENDHT_C": true
|
|
}
|
|
},
|
|
{
|
|
"name": "msvc",
|
|
"generator": "Visual Studio 17 2022",
|
|
"inherits": "default",
|
|
"cacheVariables": {
|
|
"BUILD_TESTING": true,
|
|
"VCPKG_MANIFEST_FEATURES": "test",
|
|
"OPENDHT_PROXY_CLIENT": false,
|
|
"OPENDHT_PROXY_SERVER": false,
|
|
"OPENDHT_C": true
|
|
}
|
|
},
|
|
{
|
|
"name": "vcpkg_manifest",
|
|
"inherits": "msvc",
|
|
"cacheVariables": {
|
|
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
|
|
"BUILD_SHARED_LIBS": "On",
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
|
"VCPKG_MANIFEST_MODE": true
|
|
}
|
|
},
|
|
{
|
|
"name": "vcpkg_manifest_static",
|
|
"inherits": "vcpkg_manifest",
|
|
"cacheVariables": {
|
|
"BUILD_SHARED_LIBS": "Off",
|
|
"VCPKG_TARGET_TRIPLET": "x64-windows-static"
|
|
}
|
|
},
|
|
{
|
|
"name": "vcpkg_local",
|
|
"inherits": "msvc",
|
|
"cacheVariables": {
|
|
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
|
|
"BUILD_SHARED_LIBS": "On",
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
|
"BUILD_TESTING": true,
|
|
"VCPKG_MANIFEST_MODE": false
|
|
}
|
|
},
|
|
{
|
|
"name": "vcpkg_release",
|
|
"inherits": "vcpkg_manifest",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release",
|
|
"VCPKG_TARGET_TRIPLET": "x64-windows-release",
|
|
"VCPKG_OVERLAY_TRIPLETS": "x64-windows-release;x64-windows-rel;x64-windows",
|
|
"BUILD_TESTING": false,
|
|
"OPENDHT_CPACK": true,
|
|
"OPENDHT_C": false
|
|
}
|
|
},
|
|
{
|
|
"name": "vcpkg_release_full",
|
|
"inherits": "vcpkg_release",
|
|
"cacheVariables": {
|
|
"BUILD_TESTING": false,
|
|
"OPENDHT_PROXY_CLIENT": true,
|
|
"OPENDHT_PROXY_SERVER": true,
|
|
"OPENDHT_C": true,
|
|
"OPENDHT_CPACK": true
|
|
}
|
|
},
|
|
{
|
|
"name": "vcpkg_release_static",
|
|
"inherits": "vcpkg_manifest_static",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release",
|
|
"VCPKG_TARGET_TRIPLET": "x64-windows-static-release",
|
|
"BUILD_TESTING": false,
|
|
"OPENDHT_CPACK": true,
|
|
"OPENDHT_C": false
|
|
}
|
|
},
|
|
{
|
|
"name": "vcpkg_release_static_full",
|
|
"inherits": "vcpkg_manifest_static",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release",
|
|
"VCPKG_TARGET_TRIPLET": "x64-windows-static-release",
|
|
"BUILD_TESTING": false,
|
|
"OPENDHT_PROXY_CLIENT": true,
|
|
"OPENDHT_PROXY_SERVER": true,
|
|
"OPENDHT_CPACK": true
|
|
}
|
|
},
|
|
{
|
|
"name": "vcpkg_release_local",
|
|
"inherits": "vcpkg_local",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release",
|
|
"VCPKG_TARGET_TRIPLET": "x64-windows-release",
|
|
"VCPKG_OVERLAY_TRIPLETS": "x64-windows-release;x64-windows-rel;x64-windows",
|
|
"BUILD_TESTING": false,
|
|
"OPENDHT_CPACK": true,
|
|
"OPENDHT_C": false
|
|
}
|
|
},
|
|
{
|
|
"name": "vcpkg_release_local_full",
|
|
"inherits": "vcpkg_local",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release",
|
|
"VCPKG_TARGET_TRIPLET": "x64-windows-release",
|
|
"VCPKG_OVERLAY_TRIPLETS": "x64-windows-release;x64-windows-rel;x64-windows",
|
|
"BUILD_TESTING": false,
|
|
"OPENDHT_PROXY_CLIENT": true,
|
|
"OPENDHT_PROXY_SERVER": true,
|
|
"OPENDHT_CPACK": true
|
|
}
|
|
},
|
|
{
|
|
"name": "vcpkg_release_static_local",
|
|
"inherits": "vcpkg_local",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release",
|
|
"BUILD_SHARED_LIBS": "Off",
|
|
"VCPKG_TARGET_TRIPLET": "x64-windows-static-release",
|
|
"VCPKG_OVERLAY_TRIPLETS": "x64-windows-static-release;x64-windows-static-rel;x64-windows-static",
|
|
"BUILD_TESTING": false,
|
|
"OPENDHT_CPACK": true,
|
|
"OPENDHT_C": false
|
|
}
|
|
},
|
|
{
|
|
"name": "vcpkg_release_static_local_full",
|
|
"inherits": "vcpkg_local",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release",
|
|
"BUILD_SHARED_LIBS": "Off",
|
|
"VCPKG_TARGET_TRIPLET": "x64-windows-static-release",
|
|
"VCPKG_OVERLAY_TRIPLETS": "x64-windows-static-release;x64-windows-static-rel;x64-windows-static",
|
|
"BUILD_TESTING": false,
|
|
"OPENDHT_PROXY_CLIENT": true,
|
|
"OPENDHT_PROXY_SERVER": true,
|
|
"OPENDHT_CPACK": true
|
|
}
|
|
}
|
|
],
|
|
"buildPresets": [
|
|
{
|
|
"name": "default",
|
|
"configurePreset": "default",
|
|
"hidden": true
|
|
},
|
|
{
|
|
"name": "unix-make",
|
|
"inherits": "default",
|
|
"configurePreset": "unix-make"
|
|
},
|
|
{
|
|
"name": "ninja",
|
|
"inherits": "default",
|
|
"configurePreset": "ninja"
|
|
},
|
|
{
|
|
"name": "msvc",
|
|
"inherits": "default",
|
|
"configurePreset": "msvc"
|
|
},
|
|
{
|
|
"name": "vcpkg-dev",
|
|
"inherits": "default",
|
|
"configurePreset": "vcpkg_manifest"
|
|
},
|
|
{
|
|
"name": "vcpkg-release-static",
|
|
"inherits": "default",
|
|
"configurePreset": "vcpkg_release_static_full",
|
|
"configuration": "Release"
|
|
}
|
|
]
|
|
}
|