2021-09-10 12:17:15 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO Azure/azure-sdk-for-cpp
|
2023-09-14 05:59:27 +08:00
|
|
|
REF azure-storage-queues_12.1.0
|
|
|
|
SHA512 98f1b44f408418e43aedf57392c79a625348bbbe516a84d1682486d77655851546e191ea409397cc5c0d822d77bfe9ee2628e9a581334abe86d478418ac0ba9d
|
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()
|