2021-02-09 06:30:55 +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-files-shares_12.7.0
|
|
|
|
SHA512 2482a7c437bd36e63efc8c77d917a09d73bde2bc12d49afd1e24cf0977656e991c59c15d34b52c1bd19c6988fe7c40c95b5edea8740977ffc676f3dd6758dc5e
|
2021-02-09 06:30:55 +08:00
|
|
|
)
|
|
|
|
|
2023-09-23 07:08:59 +08:00
|
|
|
if(EXISTS "${SOURCE_PATH}/sdk/storage/azure-storage-files-shares")
|
|
|
|
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-files-shares" "${SOURCE_PATH}/sdk/storage/_")
|
|
|
|
file(RENAME "${SOURCE_PATH}/sdk/storage" "${SOURCE_PATH}/sdk/_")
|
|
|
|
file(RENAME "${SOURCE_PATH}/sdk" "${SOURCE_PATH}/_")
|
|
|
|
endif()
|
|
|
|
|
2021-04-24 01:23:13 +08:00
|
|
|
vcpkg_cmake_configure(
|
2023-09-23 07:08:59 +08:00
|
|
|
SOURCE_PATH "${SOURCE_PATH}/_/_/_"
|
2021-02-09 06:30:55 +08:00
|
|
|
OPTIONS
|
|
|
|
-DWARNINGS_AS_ERRORS=OFF
|
|
|
|
)
|
|
|
|
|
2021-04-24 01:23:13 +08:00
|
|
|
vcpkg_cmake_install()
|
2021-02-09 06:30:55 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
2021-04-24 01:23:13 +08:00
|
|
|
vcpkg_cmake_config_fixup()
|
2021-02-09 06:30:55 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
|
|
|
vcpkg_copy_pdbs()
|