mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 04:19:00 +08:00
25f4315e1b
* Add "legacy" to the description of azure-storage-cpp * vcpkg x-add-version azure-storage-cpp --overwrite-version * print a message * update version * update json file * Fix typo * Update version stuff * add new sdk * update version Co-authored-by: Jonliu1993 <13720414433@163.com>
35 lines
1017 B
CMake
35 lines
1017 B
CMake
message(WARNING "azure-storage-cpp is no longer actively developed. Instead, users should migrate to the new sdk:azure-core-cpp")
|
|
vcpkg_fail_port_install(ON_TARGET "UWP")
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO Azure/azure-storage-cpp
|
|
REF v7.5.0
|
|
SHA512 83eabcaf2114c8af1cabbc96b6ef2b57c934a06f68e7a870adf336feaa19edd57aedaf8507d5c40500e46d4e77f5059f9286e319fe7cadeb9ffc8fa018fb030c
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_configure_cmake(
|
|
SOURCE_PATH ${SOURCE_PATH}/Microsoft.WindowsAzure.Storage
|
|
PREFER_NINJA
|
|
OPTIONS
|
|
-DCMAKE_FIND_FRAMEWORK=LAST
|
|
-DBUILD_TESTS=OFF
|
|
-DBUILD_SAMPLES=OFF
|
|
OPTIONS_RELEASE
|
|
-DGETTEXT_LIB_DIR=${CURRENT_INSTALLED_DIR}/lib
|
|
OPTIONS_DEBUG
|
|
-DGETTEXT_LIB_DIR=${CURRENT_INSTALLED_DIR}/debug/lib
|
|
)
|
|
|
|
vcpkg_install_cmake()
|
|
|
|
file(INSTALL
|
|
${SOURCE_PATH}/LICENSE.txt
|
|
DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
|
file(REMOVE_RECURSE
|
|
${CURRENT_PACKAGES_DIR}/debug/include)
|
|
|
|
vcpkg_copy_pdbs()
|
|
|