2020-01-31 16:44:28 +08:00
|
|
|
vcpkg_fail_port_install(ON_TARGET "UWP")
|
2016-12-02 14:54:03 +08:00
|
|
|
|
2017-05-03 11:34:11 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO Azure/azure-storage-cpp
|
2020-03-11 06:53:06 +08:00
|
|
|
REF v7.3.0
|
|
|
|
SHA512 4297fa9e70fc4f4dde63f78f21714c2f9f6a9a63529cc3595f61e08659ea86a3590dbf9e99ee67572099c6bb7cc5b376bba6f29fbf59c5a1b705d841bb9a32e4
|
2017-05-03 11:34:11 +08:00
|
|
|
HEAD_REF master
|
2016-12-02 14:54:03 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_configure_cmake(
|
|
|
|
SOURCE_PATH ${SOURCE_PATH}/Microsoft.WindowsAzure.Storage
|
2019-08-01 04:01:02 +08:00
|
|
|
PREFER_NINJA
|
2016-12-02 14:54:03 +08:00
|
|
|
OPTIONS
|
2018-04-18 07:26:20 +08:00
|
|
|
-DCMAKE_FIND_FRAMEWORK=LAST
|
2016-12-02 14:54:03 +08:00
|
|
|
-DBUILD_TESTS=OFF
|
|
|
|
-DBUILD_SAMPLES=OFF
|
2020-01-31 16:44:28 +08:00
|
|
|
OPTIONS_RELEASE
|
|
|
|
-DGETTEXT_LIB_DIR=${CURRENT_INSTALLED_DIR}/lib
|
|
|
|
OPTIONS_DEBUG
|
|
|
|
-DGETTEXT_LIB_DIR=${CURRENT_INSTALLED_DIR}/debug/lib
|
2016-12-02 14:54:03 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_install_cmake()
|
|
|
|
|
|
|
|
file(INSTALL
|
|
|
|
${SOURCE_PATH}/LICENSE.txt
|
|
|
|
DESTINATION ${CURRENT_PACKAGES_DIR}/share/azure-storage-cpp RENAME copyright)
|
2018-02-22 13:17:14 +08:00
|
|
|
file(REMOVE_RECURSE
|
2016-12-02 14:54:03 +08:00
|
|
|
${CURRENT_PACKAGES_DIR}/debug/include)
|
|
|
|
|
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|