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}"
|
2023-11-09 01:40:40 +08:00
|
|
|
SHA512 ce0a89e3ae5e49f495904a614615906119ba09606ac2e781aae59cf2f4a00e6d4afe9bdd9675ec4cc59b50b47b5123a6333f125871df42db5d6554d341132676
|
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()
|