diff options
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/azure-identity-cpp/CONTROL | 6 | ||||
| -rw-r--r-- | ports/azure-identity-cpp/portfile.cmake | 20 |
2 files changed, 26 insertions, 0 deletions
diff --git a/ports/azure-identity-cpp/CONTROL b/ports/azure-identity-cpp/CONTROL new file mode 100644 index 000000000..74e47c1fa --- /dev/null +++ b/ports/azure-identity-cpp/CONTROL @@ -0,0 +1,6 @@ +Source: azure-identity-cpp
+Version: 1.0.0-beta.3
+Build-Depends: azure-core-cpp
+Description: Microsoft Azure Identity SDK for C++
+ This library provides common authentication-related abstractions for Azure SDK.
+Homepage: https://github.com/Azure/azure-sdk-for-cpp/tree/master/sdk/identity/azure-identity
diff --git a/ports/azure-identity-cpp/portfile.cmake b/ports/azure-identity-cpp/portfile.cmake new file mode 100644 index 000000000..05838226c --- /dev/null +++ b/ports/azure-identity-cpp/portfile.cmake @@ -0,0 +1,20 @@ +vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO Azure/azure-sdk-for-cpp
+ REF azure-identity_1.0.0-beta.3
+ SHA512 ef1926e81e14b040871d654e5d4a3e07607ee82b0c9a0205dd6fa2253ae84eb86cfadc45de6dab6a060a5e8909615e559444c65174368fc1bd386894ea89efa6
+)
+
+vcpkg_configure_cmake(
+ SOURCE_PATH ${SOURCE_PATH}/sdk/identity/azure-identity/
+ 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()
+
|
