зеркало из https://github.com/microsoft/vcpkg.git
[zeromq] update to 4.2.2. Resolves #760
This commit is contained in:
Родитель
da09a8136d
Коммит
eb39164537
|
@ -1,3 +1,3 @@
|
||||||
Source: zeromq
|
Source: zeromq
|
||||||
Version: 4.2.0
|
Version: 4.2.2
|
||||||
Description: The ZeroMQ lightweight messaging kernel is a library which extends the standard socket interfaces with features traditionally provided by specialised messaging middleware products
|
Description: The ZeroMQ lightweight messaging kernel is a library which extends the standard socket interfaces with features traditionally provided by specialised messaging middleware products
|
||||||
|
|
|
@ -1,9 +1,12 @@
|
||||||
|
set(ZEROMQ_VERSION 4.2.2)
|
||||||
|
set(ZEROMQ_HASH 4069813374d4e8d4c0f8debbe85472d0bd24cf644fb1bce748920eadffb81c429d28f523ef424df84fcaa7082b984fab8da57192802585811d37cff066f4e40c)
|
||||||
|
|
||||||
include(vcpkg_common_functions)
|
include(vcpkg_common_functions)
|
||||||
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/zeromq-4.2.0)
|
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/libzmq-${ZEROMQ_VERSION})
|
||||||
vcpkg_download_distfile(ARCHIVE
|
vcpkg_download_distfile(ARCHIVE
|
||||||
URLS "https://github.com/zeromq/libzmq/releases/download/v4.2.0/zeromq-4.2.0.tar.gz"
|
URLS "https://github.com/zeromq/libzmq/archive/v${ZEROMQ_VERSION}.tar.gz"
|
||||||
FILENAME "zeromq-4.2.0.tar.gz"
|
FILENAME "libzmq-${ZEROMQ_VERSION}.tar.gz"
|
||||||
SHA512 3b6f0a1869fb1663ea40b3c3aa088b81399a35c051e4ade2b30bbac60bfceefe6b4403248a4635fb31d33767c1e478342f61c47b0ffdb4501419c13590ebeb96
|
SHA512 ${ZEROMQ_HASH}
|
||||||
)
|
)
|
||||||
vcpkg_extract_source_archive(${ARCHIVE})
|
vcpkg_extract_source_archive(${ARCHIVE})
|
||||||
|
|
||||||
|
@ -14,42 +17,48 @@ else ()
|
||||||
set(MSBUILD_PLATFORM ${TRIPLET_SYSTEM_ARCH})
|
set(MSBUILD_PLATFORM ${TRIPLET_SYSTEM_ARCH})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(VCPKG_PLATFORM_TOOLSET MATCHES "v141")
|
||||||
|
set(MSVS_VERSION 2017)
|
||||||
|
else()
|
||||||
|
set(MSVS_VERSION 2015)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
|
if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
|
||||||
vcpkg_build_msbuild(
|
vcpkg_build_msbuild(
|
||||||
PROJECT_PATH ${SOURCE_PATH}/builds/msvc/vs2015/libzmq/libzmq.vcxproj
|
PROJECT_PATH ${SOURCE_PATH}/builds/msvc/vs${MSVS_VERSION}/libzmq/libzmq.vcxproj
|
||||||
RELEASE_CONFIGURATION ReleaseDLL
|
RELEASE_CONFIGURATION ReleaseDLL
|
||||||
DEBUG_CONFIGURATION DebugDLL
|
DEBUG_CONFIGURATION DebugDLL
|
||||||
)
|
)
|
||||||
file(INSTALL
|
file(INSTALL
|
||||||
${SOURCE_PATH}/bin/${MSBUILD_PLATFORM}/Debug/v140/dynamic/libzmq.dll
|
${SOURCE_PATH}/bin/${MSBUILD_PLATFORM}/Debug/${VCPKG_PLATFORM_TOOLSET}/dynamic/libzmq.dll
|
||||||
DESTINATION ${CURRENT_PACKAGES_DIR}/debug/bin
|
DESTINATION ${CURRENT_PACKAGES_DIR}/debug/bin
|
||||||
)
|
)
|
||||||
file(INSTALL
|
file(INSTALL
|
||||||
${SOURCE_PATH}/bin/${MSBUILD_PLATFORM}/Release/v140/dynamic/libzmq.dll
|
${SOURCE_PATH}/bin/${MSBUILD_PLATFORM}/Release/${VCPKG_PLATFORM_TOOLSET}/dynamic/libzmq.dll
|
||||||
DESTINATION ${CURRENT_PACKAGES_DIR}/bin
|
DESTINATION ${CURRENT_PACKAGES_DIR}/bin
|
||||||
)
|
)
|
||||||
file(INSTALL
|
file(INSTALL
|
||||||
${SOURCE_PATH}/bin/${MSBUILD_PLATFORM}/Debug/v140/dynamic/libzmq.lib
|
${SOURCE_PATH}/bin/${MSBUILD_PLATFORM}/Debug/${VCPKG_PLATFORM_TOOLSET}/dynamic/libzmq.lib
|
||||||
DESTINATION ${CURRENT_PACKAGES_DIR}/debug/lib
|
DESTINATION ${CURRENT_PACKAGES_DIR}/debug/lib
|
||||||
)
|
)
|
||||||
file(INSTALL
|
file(INSTALL
|
||||||
${SOURCE_PATH}/bin/${MSBUILD_PLATFORM}/Release/v140/dynamic/libzmq.lib
|
${SOURCE_PATH}/bin/${MSBUILD_PLATFORM}/Release/${VCPKG_PLATFORM_TOOLSET}/dynamic/libzmq.lib
|
||||||
DESTINATION ${CURRENT_PACKAGES_DIR}/lib
|
DESTINATION ${CURRENT_PACKAGES_DIR}/lib
|
||||||
)
|
)
|
||||||
vcpkg_copy_pdbs()
|
vcpkg_copy_pdbs()
|
||||||
|
|
||||||
else()
|
else()
|
||||||
vcpkg_build_msbuild(
|
vcpkg_build_msbuild(
|
||||||
PROJECT_PATH ${SOURCE_PATH}/builds/msvc/vs2015/libzmq/libzmq.vcxproj
|
PROJECT_PATH ${SOURCE_PATH}/builds/msvc/vs${MSVS_VERSION}/libzmq/libzmq.vcxproj
|
||||||
RELEASE_CONFIGURATION ReleaseLIB
|
RELEASE_CONFIGURATION ReleaseLIB
|
||||||
DEBUG_CONFIGURATION DebugLIB
|
DEBUG_CONFIGURATION DebugLIB
|
||||||
)
|
)
|
||||||
file(INSTALL
|
file(INSTALL
|
||||||
${SOURCE_PATH}/bin/${MSBUILD_PLATFORM}/Debug/v140/static/libzmq.lib
|
${SOURCE_PATH}/bin/${MSBUILD_PLATFORM}/Debug/${VCPKG_PLATFORM_TOOLSET}/static/libzmq.lib
|
||||||
DESTINATION ${CURRENT_PACKAGES_DIR}/debug/lib
|
DESTINATION ${CURRENT_PACKAGES_DIR}/debug/lib
|
||||||
)
|
)
|
||||||
file(INSTALL
|
file(INSTALL
|
||||||
${SOURCE_PATH}/bin/${MSBUILD_PLATFORM}/Release/v140/static/libzmq.lib
|
${SOURCE_PATH}/bin/${MSBUILD_PLATFORM}/Release/${VCPKG_PLATFORM_TOOLSET}/static/libzmq.lib
|
||||||
DESTINATION ${CURRENT_PACKAGES_DIR}/lib
|
DESTINATION ${CURRENT_PACKAGES_DIR}/lib
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
Загрузка…
Ссылка в новой задаче