2023-11-09 01:40:40 +08:00
|
|
|
# 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.
|
|
|
|
|
2021-09-10 12:17:15 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO Azure/azure-sdk-for-cpp
|
2024-04-24 03:54:46 +08:00
|
|
|
REF "azure-storage-queues_${VERSION}"
|
2024-07-21 02:21:01 +08:00
|
|
|
SHA512 1ee5d7214e56bce689c5c5d0f17fb95159469a1557b3cb1ad4b97e376b7036a2fc1c1178736b11c7003d17ae91fe77c0b140c335f7b4b823a14d858bb4a54300
|
2024-04-24 03:54:46 +08:00
|
|
|
HEAD_REF main
|
2021-09-10 12:17:15 +08:00
|
|
|
)
|
|
|
|
|
2023-09-23 07:08:59 +08:00
|
|
|
if(EXISTS "${SOURCE_PATH}/sdk/storage/azure-storage-queues")
|
|
|
|
file(REMOVE_RECURSE "${SOURCE_PATH}/sdk/storage/_")
|
|
|
|
file(REMOVE_RECURSE "${SOURCE_PATH}/sdk/_")
|
|
|
|
file(REMOVE_RECURSE "${SOURCE_PATH}/_")
|
|
|
|
|
|
|
|
file(RENAME "${SOURCE_PATH}/sdk/storage/azure-storage-queues" "${SOURCE_PATH}/sdk/storage/_")
|
|
|
|
file(RENAME "${SOURCE_PATH}/sdk/storage" "${SOURCE_PATH}/sdk/_")
|
|
|
|
file(RENAME "${SOURCE_PATH}/sdk" "${SOURCE_PATH}/_")
|
|
|
|
endif()
|
|
|
|
|
2021-09-10 12:17:15 +08:00
|
|
|
vcpkg_cmake_configure(
|
2023-09-23 07:08:59 +08:00
|
|
|
SOURCE_PATH "${SOURCE_PATH}/_/_/_"
|
2021-09-10 12:17:15 +08:00
|
|
|
OPTIONS
|
|
|
|
-DWARNINGS_AS_ERRORS=OFF
|
2023-09-14 05:59:27 +08:00
|
|
|
-DBUILD_TESTING=OFF
|
2021-09-10 12:17:15 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
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()
|