-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into test-features
- Loading branch information
Showing
214 changed files
with
1,551 additions
and
1,077 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
diff --git a/sdk/core/azure-core-amqp/CMakeLists.txt b/sdk/core/azure-core-amqp/CMakeLists.txt | ||
index 4af39728..f888b1ba 100644 | ||
--- a/sdk/core/azure-core-amqp/CMakeLists.txt | ||
+++ b/sdk/core/azure-core-amqp/CMakeLists.txt | ||
@@ -31,7 +31,7 @@ if(NOT AZ_ALL_LIBRARIES) | ||
endif() | ||
|
||
find_package(uamqp CONFIG REQUIRED) | ||
-find_package(umock_c) | ||
+find_package(umock_c CONFIG REQUIRED) | ||
find_package(azure_macro_utils_c CONFIG REQUIRED) | ||
find_package(azure_c_shared_utility CONFIG REQUIRED) | ||
|
||
@@ -101,8 +101,8 @@ add_library(Azure::azure-core-amqp ALIAS azure-core-amqp) | ||
# coverage. Has no effect if BUILD_CODE_COVERAGE is OFF | ||
create_code_coverage(core azure-core-amqp azure-core-amqp-tests "tests?/*;samples?/*") | ||
|
||
-# uAMQP's headers require the manual addition of umock_c and azure_macro_utils_c to the target link libraries. | ||
-target_link_libraries(azure-core-amqp PRIVATE uamqp umock_c azure_macro_utils_c PUBLIC Azure::azure-core) | ||
+# uAMQP's headers require the manual addition of umock_c, azure_macro_utils_c, and aziotsharedutil to the target link libraries. | ||
+target_link_libraries(azure-core-amqp PRIVATE uamqp umock_c azure_macro_utils_c aziotsharedutil PUBLIC Azure::azure-core) | ||
|
||
get_az_version("${CMAKE_CURRENT_SOURCE_DIR}/src/private/package_version.hpp") | ||
generate_documentation(azure-core-amqp ${AZ_LIBRARY_VERSION}) | ||
diff --git a/sdk/core/azure-core-amqp/vcpkg/Config.cmake.in b/sdk/core/azure-core-amqp/vcpkg/Config.cmake.in | ||
index 989c8be1..176bc75f 100644 | ||
--- a/sdk/core/azure-core-amqp/vcpkg/Config.cmake.in | ||
+++ b/sdk/core/azure-core-amqp/vcpkg/Config.cmake.in | ||
@@ -4,9 +4,12 @@ | ||
@PACKAGE_INIT@ | ||
|
||
include(CMakeFindDependencyMacro) | ||
-find_dependency(azure-core-cpp "1.9.0-beta.1") | ||
+find_dependency(azure-core-cpp) | ||
|
||
-find_dependency(azure-uamqp-c) | ||
+find_dependency(uamqp) | ||
+find_dependency(umock_c) | ||
+find_dependency(azure_macro_utils_c) | ||
+find_dependency(azure_c_shared_utility) | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/azure-core-amqp-cppTargets.cmake") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO Azure/azure-sdk-for-cpp | ||
REF azure-core-amqp_1.0.0-beta.1 | ||
SHA512 4fc520c546cd395d4c50a9385d33db09b50865046b5383b1442057d4ac78ffc6a6be221af6aef3dcb938ffde1927e8de4270d5b1c9cf5d97ac8b1581b51d014b | ||
PATCHES | ||
00100-fix_dependency.patch | ||
) | ||
|
||
vcpkg_cmake_configure( | ||
SOURCE_PATH "${SOURCE_PATH}/sdk/core/azure-core-amqp/" | ||
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() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"name": "azure-core-amqp-cpp", | ||
"version-semver": "1.0.0-beta.1", | ||
"description": [ | ||
"Microsoft Azure AMQP SDK for C++", | ||
"This library provides AMQP functionality to Azure SDK services." | ||
], | ||
"homepage": "https://github.com/Azure/azure-sdk-for-cpp/tree/main/sdk/core/azure-core-amqp", | ||
"license": "MIT", | ||
"supports": "!uwp", | ||
"dependencies": [ | ||
{ | ||
"name": "azure-core-cpp", | ||
"default-features": false, | ||
"version>=": "1.9.0-beta.1" | ||
}, | ||
"azure-uamqp-c", | ||
{ | ||
"name": "vcpkg-cmake", | ||
"host": true | ||
}, | ||
{ | ||
"name": "vcpkg-cmake-config", | ||
"host": true | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.