aboutsummaryrefslogtreecommitdiff
path: root/ports/azure-storage-blobs-cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ports/azure-storage-blobs-cpp')
-rw-r--r--ports/azure-storage-blobs-cpp/CONTROL6
-rw-r--r--ports/azure-storage-blobs-cpp/portfile.cmake20
2 files changed, 26 insertions, 0 deletions
diff --git a/ports/azure-storage-blobs-cpp/CONTROL b/ports/azure-storage-blobs-cpp/CONTROL
new file mode 100644
index 000000000..a3e08f567
--- /dev/null
+++ b/ports/azure-storage-blobs-cpp/CONTROL
@@ -0,0 +1,6 @@
+Source: azure-storage-blobs-cpp
+Version: 12.0.0-beta.7
+Build-Depends: azure-storage-common-cpp
+Description: Microsoft Azure Storage Blobs SDK for C++
+ This library provides Azure Storage Blobs SDK.
+Homepage: https://github.com/Azure/azure-sdk-for-cpp/tree/master/sdk/storage/azure-storage-blobs
diff --git a/ports/azure-storage-blobs-cpp/portfile.cmake b/ports/azure-storage-blobs-cpp/portfile.cmake
new file mode 100644
index 000000000..2c385b399
--- /dev/null
+++ b/ports/azure-storage-blobs-cpp/portfile.cmake
@@ -0,0 +1,20 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO Azure/azure-sdk-for-cpp
+ REF azure-storage-blobs_12.0.0-beta.7
+ SHA512 51bf1c961bdc2fd95354afe21f171f2e1c05aafb4f6301a15d51650fecf0f0bc66272ac0fbc2e02c112b0164da4df66a411b17418c338298f6da21c3bfaab2c1
+)
+
+vcpkg_configure_cmake(
+ SOURCE_PATH ${SOURCE_PATH}/sdk/storage/azure-storage-blobs/
+ PREFER_NINJA
+ OPTIONS
+ -DWARNINGS_AS_ERRORS=OFF
+)
+
+vcpkg_install_cmake()
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+vcpkg_fixup_cmake_targets()
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
+vcpkg_copy_pdbs()
+