aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorAzure SDK Bot <53356347+azure-sdk@users.noreply.github.com>2021-02-08 14:30:55 -0800
committerGitHub <noreply@github.com>2021-02-08 14:30:55 -0800
commit31078255f817843c7101a085c1150b1e7eeea216 (patch)
tree4205fbfe6e819025591390010891ef3e40ea8914 /ports
parentc177da97bd6ee2f031b329f943c6dea4decc3e97 (diff)
downloadvcpkg-31078255f817843c7101a085c1150b1e7eeea216.tar.gz
vcpkg-31078255f817843c7101a085c1150b1e7eeea216.zip
[azure-storage-files-shares-cpp] Add new port (#16053)
* Update port for azure-storage-files-shares-cpp * Remove comment headers * Update version SHA Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Diffstat (limited to 'ports')
-rw-r--r--ports/azure-storage-files-shares-cpp/CONTROL6
-rw-r--r--ports/azure-storage-files-shares-cpp/portfile.cmake20
2 files changed, 26 insertions, 0 deletions
diff --git a/ports/azure-storage-files-shares-cpp/CONTROL b/ports/azure-storage-files-shares-cpp/CONTROL
new file mode 100644
index 000000000..ab7a0c8ba
--- /dev/null
+++ b/ports/azure-storage-files-shares-cpp/CONTROL
@@ -0,0 +1,6 @@
+Source: azure-storage-files-shares-cpp
+Version: 12.0.0-beta.7
+Build-Depends: azure-storage-common-cpp
+Description: Microsoft Azure Storage Files Shares SDK for C++
+ This library provides Azure Storage Files Shares SDK.
+Homepage: https://github.com/Azure/azure-sdk-for-cpp/tree/master/sdk/storage/azure-storage-files-shares
diff --git a/ports/azure-storage-files-shares-cpp/portfile.cmake b/ports/azure-storage-files-shares-cpp/portfile.cmake
new file mode 100644
index 000000000..149d324fc
--- /dev/null
+++ b/ports/azure-storage-files-shares-cpp/portfile.cmake
@@ -0,0 +1,20 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO Azure/azure-sdk-for-cpp
+ REF azure-storage-files-shares_12.0.0-beta.7
+ SHA512 77238977df087b026eaf87a0728e198a8c6989e856ba805f3710bfab34c8255e7374e0d89fb21d4fd23f3ae229c4b854f59f13bcae73cf0eb15ecca5c7fbe80e
+)
+
+vcpkg_configure_cmake(
+ SOURCE_PATH ${SOURCE_PATH}/sdk/storage/azure-storage-files-shares/
+ 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()
+