2021-02-04 03:27:37 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO Azure/azure-sdk-for-cpp
|
2021-06-05 05:55:02 +08:00
|
|
|
REF azure-core_1.0.0
|
|
|
|
SHA512 84b1f56103677166b0bff1aa4837fed950545a4851e260f3aaf304d797d7fb270b5dc52d373fcb73de0c3e6a9366d860ff4f4d90eae9ba3f8e2ffe4eb211e3f2
|
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(
|
2021-02-04 03:27:37 +08:00
|
|
|
SOURCE_PATH ${SOURCE_PATH}/sdk/core/azure-core/
|
|
|
|
PREFER_NINJA
|
|
|
|
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()
|