2021-02-03 11:27:37 -08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO Azure/azure-sdk-for-cpp
|
2022-03-04 11:33:15 -08:00
|
|
|
REF azure-core_1.4.0
|
|
|
|
SHA512 08359026469beeeaf9e7318da00683fa58943a093fc690fc0701ed99d4baf28834b42a19794eeae9df8fca70f35cda34809298bba45cb04a363b2475e93ad974
|
2021-02-03 11:27:37 -08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_check_features(
|
|
|
|
OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
|
|
|
FEATURES
|
|
|
|
curl BUILD_TRANSPORT_CURL
|
|
|
|
winhttp BUILD_TRANSPORT_WINHTTP
|
|
|
|
)
|
|
|
|
|
2021-04-23 17:23:13 +00:00
|
|
|
vcpkg_cmake_configure(
|
2021-02-03 11:27:37 -08:00
|
|
|
SOURCE_PATH ${SOURCE_PATH}/sdk/core/azure-core/
|
|
|
|
OPTIONS
|
|
|
|
${FEATURE_OPTIONS}
|
|
|
|
-DWARNINGS_AS_ERRORS=OFF
|
|
|
|
)
|
|
|
|
|
2021-04-23 17:23:13 +00:00
|
|
|
vcpkg_cmake_install()
|
2021-02-03 11:27:37 -08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
2021-04-23 17:23:13 +00:00
|
|
|
vcpkg_cmake_config_fixup()
|
2021-02-03 11:27:37 -08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
|
|
|
vcpkg_copy_pdbs()
|