vcpkg/ports/azure-messaging-eventhubs-cpp/portfile.cmake
Azure SDK Bot cb81acf7b2
[azure-core-amqp-cpp][azure-messaging-eventhubs-cpp] Update to November releases (#34960)
* [azure-core-amqp-cpp] Update to 1.0.0-beta.5
## 1.0.0-beta.5 (2023-11-07)

### Breaking Changes

- Refactored AMQP headers to isolate internal-only types to "internal" subdirectory in headers.

### Other Changes

- Removed public dependency on azure-uamqp-c to enable local bug fixes.

* [azure-messaging-eventhubs-cpp] Update to 1.0.0-beta.4
## 1.0.0-beta.4 (2023-11-07)

### Features Added

- Fully functional eventhubs Processor.
- Allow `ProducerClient` and `ConsumerClient` to be created with a connection string without an EntityPath element.

### Breaking Changes

- Removed the `LoadBalancer` type from the public API surface.
- `ConsumerClient` and `ProducerClient` objects can no longer be moved or copied.
- If the connection string provided to `ConsumerClient` or `ProducerClient` contains an EntityPath, then the `EntityPath`
parameter to the constructor must match the value provided in the connection string.

### Other Changes

- Several `ostream` insertion operators were added for eventhubs types.
2023-11-08 09:41:37 -08:00

33 lines
1.2 KiB
CMake

# NOTE: All changes made to this file will get overwritten by the next port release.
# Please contribute your changes to https://github.com/Azure/azure-sdk-for-cpp.
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Azure/azure-sdk-for-cpp
REF azure-messaging-eventhubs_1.0.0-beta.4
SHA512 a96adb497b583356e7d38e3a24814b2ed12e116d273ad1bd4b710a65ae32b5840a72905d107b8ec157a75b80135416af9326839741795082d187d39335b14bf7
)
if(EXISTS "${SOURCE_PATH}/sdk/eventhubs/azure-messaging-eventhubs")
file(REMOVE_RECURSE "${SOURCE_PATH}/sdk/eventhubs/_")
file(REMOVE_RECURSE "${SOURCE_PATH}/sdk/_")
file(REMOVE_RECURSE "${SOURCE_PATH}/_")
file(RENAME "${SOURCE_PATH}/sdk/eventhubs/azure-messaging-eventhubs" "${SOURCE_PATH}/sdk/eventhubs/_")
file(RENAME "${SOURCE_PATH}/sdk/eventhubs" "${SOURCE_PATH}/sdk/_")
file(RENAME "${SOURCE_PATH}/sdk" "${SOURCE_PATH}/_")
endif()
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}/_/_/_"
OPTIONS
-DWARNINGS_AS_ERRORS=OFF
-DBUILD_TESTING=OFF
)
vcpkg_cmake_install()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
vcpkg_cmake_config_fixup()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
vcpkg_copy_pdbs()