aboutsummaryrefslogtreecommitdiff
path: root/ports/azure-core-cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ports/azure-core-cpp')
-rw-r--r--ports/azure-core-cpp/CONTROL19
-rw-r--r--ports/azure-core-cpp/portfile.cmake4
-rw-r--r--ports/azure-core-cpp/vcpkg.json60
3 files changed, 62 insertions, 21 deletions
diff --git a/ports/azure-core-cpp/CONTROL b/ports/azure-core-cpp/CONTROL
deleted file mode 100644
index 97d6c6008..000000000
--- a/ports/azure-core-cpp/CONTROL
+++ /dev/null
@@ -1,19 +0,0 @@
-Source: azure-core-cpp
-Version: 1.0.0-beta.7
-Build-Depends: openssl (!windows&!uwp)
-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/master/sdk/core/azure-core
-Default-Features: http
-
-Feature: http
-Build-Depends: azure-core-cpp[core, curl], azure-core-cpp[core, curl, winhttp] (windows&!uwp)
-Description: Build all HTTP transport implementations, depending on the platform
-
-Feature: curl
-Build-Depends: azure-core-cpp[core], curl
-Description: Build an HTTP transport implementation with LibCURL
-
-Feature: winhttp
-Build-Depends: azure-core-cpp[core]
-Description: Build an HTTP transport implementation with WinHTTP
diff --git a/ports/azure-core-cpp/portfile.cmake b/ports/azure-core-cpp/portfile.cmake
index d9f7e95f4..74d20a8a2 100644
--- a/ports/azure-core-cpp/portfile.cmake
+++ b/ports/azure-core-cpp/portfile.cmake
@@ -1,8 +1,8 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Azure/azure-sdk-for-cpp
- REF azure-core_1.0.0-beta.7
- SHA512 2ec13d3ee592869fc086c601e884fb992c123298135c9ffc8d43089c6a4a8368266ebc88f9636b5e63fc19af917d169e7557b2054c5449648bbf21ab3793fbd1
+ REF azure-core_1.0.0-beta.8
+ SHA512 fd882e37332fd5f35627b94c96cfae78178d9bc551cc9a27480f2ef08d496ea2379dc8d0e6a237e902ce063ae87ed6f9e8dc0b91e2e16bd8638e839f8d9e4c2a
)
vcpkg_check_features(
diff --git a/ports/azure-core-cpp/vcpkg.json b/ports/azure-core-cpp/vcpkg.json
new file mode 100644
index 000000000..2f88f104c
--- /dev/null
+++ b/ports/azure-core-cpp/vcpkg.json
@@ -0,0 +1,60 @@
+{
+ "name": "azure-core-cpp",
+ "version-string": "1.0.0-beta.8",
+ "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/master/sdk/core/azure-core",
+ "dependencies": [
+ {
+ "name": "openssl",
+ "platform": "!windows & !uwp"
+ }
+ ],
+ "default-features": [
+ "http"
+ ],
+ "features": {
+ "curl": {
+ "description": "Build an HTTP transport implementation with LibCURL",
+ "dependencies": [
+ {
+ "name": "azure-core-cpp",
+ "default-features": false
+ },
+ "curl"
+ ]
+ },
+ "http": {
+ "description": "Build all HTTP transport implementations, depending 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": "Build an HTTP transport implementation with WinHTTP",
+ "dependencies": [
+ {
+ "name": "azure-core-cpp",
+ "default-features": false
+ }
+ ]
+ }
+ }
+}