mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 04:39:02 +08:00
8067f8a110
* [azure-sdk-for-cpp] Upgrade vcpkg manifest files * Update version files * vcpkg format-manifest * Update version files * Minor change to re-trigger CI * Undo that minor change * Bump up port-version * Update x-add-version * redo x-add-version without overwrite Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
28 lines
792 B
CMake
28 lines
792 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO Azure/azure-sdk-for-cpp
|
|
REF azure-core_1.0.0-beta.8
|
|
SHA512 fd882e37332fd5f35627b94c96cfae78178d9bc551cc9a27480f2ef08d496ea2379dc8d0e6a237e902ce063ae87ed6f9e8dc0b91e2e16bd8638e839f8d9e4c2a
|
|
)
|
|
|
|
vcpkg_check_features(
|
|
OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
|
FEATURES
|
|
curl BUILD_TRANSPORT_CURL
|
|
winhttp BUILD_TRANSPORT_WINHTTP
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH ${SOURCE_PATH}/sdk/core/azure-core/
|
|
PREFER_NINJA
|
|
OPTIONS
|
|
${FEATURE_OPTIONS}
|
|
-DWARNINGS_AS_ERRORS=OFF
|
|
)
|
|
|
|
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()
|