2021-02-04 03:27:37 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO Azure/azure-sdk-for-cpp
|
2023-04-10 13:04:29 +08:00
|
|
|
REF azure-core_1.8.1
|
|
|
|
SHA512 2a488215262a7ae9a05c5d066cdca7400da38ae1a7848ef6ae3e16bc73e3ebd9a38a0307613f5bac1c38681508c314d26e3ce4b4fb4eef4e58eec1a792c085ed
|
2021-02-04 03:27:37 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_check_features(
|
|
|
|
OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
|
|
|
FEATURES
|
|
|
|
curl BUILD_TRANSPORT_CURL
|
|
|
|
winhttp BUILD_TRANSPORT_WINHTTP
|
|
|
|
)
|
|
|
|
|
2021-04-24 01:23:13 +08:00
|
|
|
vcpkg_cmake_configure(
|
2023-04-10 13:04:29 +08:00
|
|
|
SOURCE_PATH "${SOURCE_PATH}/sdk/core/azure-core/"
|
2021-02-04 03:27:37 +08:00
|
|
|
OPTIONS
|
|
|
|
${FEATURE_OPTIONS}
|
|
|
|
-DWARNINGS_AS_ERRORS=OFF
|
|
|
|
)
|
|
|
|
|
2021-04-24 01:23:13 +08:00
|
|
|
vcpkg_cmake_install()
|
2021-02-04 03:27:37 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
2021-04-24 01:23:13 +08:00
|
|
|
vcpkg_cmake_config_fixup()
|
2021-02-04 03:27:37 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
|
|
|
vcpkg_copy_pdbs()
|