vcpkg/ports/azure-security-keyvault-common-cpp/portfile.cmake
Azure SDK Bot 414bec05f2
[azure-security-keyvault-*] Add new ports (#17143)
* [azure-security-keyvault-common-cpp] Update to 4.0.0-beta.1
## 4.0.0-beta.1 (2021-04-07)

### New Features

- KeyVaultException.

* [azure-security-keyvault-keys-cpp] Update to 4.0.0-beta.1
## 4.0.0-beta.1 (2021-04-07)

### New Features

- Added `Azure::Security::KeyVault::Keys::KeyClient` for get, create, list, delete, backup, restore, and import key operations.
- Added high-level and simplified `key_vault.hpp` file for simpler include experience for customers.
- Added model types which are returned from the `KeyClient` operations, such as `Azure::Security::KeyVault::Keys::KeyVaultKey`.

* Update vcpkg ports to use a manifest json file instead of a CONTROL
file.

* Update git tree sha versions using the command 'x-add-version --all
--overwrite-version'

Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2021-04-16 17:11:10 -07:00

20 lines
650 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Azure/azure-sdk-for-cpp
REF azure-security-keyvault-common_4.0.0-beta.1
SHA512 7364bf775bbf6115bf54ee0c2df8b2bae35ea31c669fcbc358edd00a948f2c73926fbf88282ff5442f40ead9cdfc78661a08e4f86002ac2eac5e78ddd13eb33d
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}/sdk/keyvault/azure-security-keyvault-common/
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()