early-access version 2853
This commit is contained in:
26
externals/vcpkg/ports/azure-core-cpp/portfile.cmake
vendored
Executable file
26
externals/vcpkg/ports/azure-core-cpp/portfile.cmake
vendored
Executable file
@@ -0,0 +1,26 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Azure/azure-sdk-for-cpp
|
||||
REF azure-core_1.6.0
|
||||
SHA512 13374ddf74488c080ef19d78569961dc859cd95cb64f359e0d3a0d763a314f005a6ba51b8f8fe900a7acb3eb4b783f4570962569855f6e4839b02de4db0d026e
|
||||
)
|
||||
|
||||
vcpkg_check_features(
|
||||
OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
FEATURES
|
||||
curl BUILD_TRANSPORT_CURL
|
||||
winhttp BUILD_TRANSPORT_WINHTTP
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH ${SOURCE_PATH}/sdk/core/azure-core/
|
||||
OPTIONS
|
||||
${FEATURE_OPTIONS}
|
||||
-DWARNINGS_AS_ERRORS=OFF
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
vcpkg_cmake_config_fixup()
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
vcpkg_copy_pdbs()
|
76
externals/vcpkg/ports/azure-core-cpp/vcpkg.json
vendored
Executable file
76
externals/vcpkg/ports/azure-core-cpp/vcpkg.json
vendored
Executable file
@@ -0,0 +1,76 @@
|
||||
{
|
||||
"name": "azure-core-cpp",
|
||||
"version-semver": "1.6.0",
|
||||
"description": [
|
||||
"Microsoft Azure Core SDK for C++",
|
||||
"This library provides shared primitives, abstractions, and helpers for modern Azure SDK client libraries written in the C++."
|
||||
],
|
||||
"homepage": "https://github.com/Azure/azure-sdk-for-cpp/tree/main/sdk/core/azure-core",
|
||||
"license": "MIT",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "openssl",
|
||||
"platform": "!windows & !uwp",
|
||||
"version>=": "1.1.1n"
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
],
|
||||
"default-features": [
|
||||
"http"
|
||||
],
|
||||
"features": {
|
||||
"curl": {
|
||||
"description": "Libcurl HTTP transport implementation",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "azure-core-cpp",
|
||||
"default-features": false
|
||||
},
|
||||
{
|
||||
"name": "curl",
|
||||
"default-features": false,
|
||||
"features": [
|
||||
"ssl"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"http": {
|
||||
"description": "All HTTP transport implementations available on the platform",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "azure-core-cpp",
|
||||
"default-features": false,
|
||||
"features": [
|
||||
"curl"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "azure-core-cpp",
|
||||
"default-features": false,
|
||||
"features": [
|
||||
"curl",
|
||||
"winhttp"
|
||||
],
|
||||
"platform": "windows & !uwp"
|
||||
}
|
||||
]
|
||||
},
|
||||
"winhttp": {
|
||||
"description": "WinHTTP HTTP transport implementation",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "azure-core-cpp",
|
||||
"default-features": false
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user