* [fastcdr] Update to 1.0.26

* Update version database

* Dynamic linkage fix

* Update version
This commit is contained in:
Andrew Kornilov 2023-01-16 23:17:34 +03:00 коммит произвёл GitHub
Родитель faddd9351a
Коммит e6e9a0b1b0
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
4 изменённых файлов: 15 добавлений и 9 удалений

Просмотреть файл

@ -1,8 +1,10 @@
vcpkg_minimum_required(VERSION 2022-10-12) # for ${VERSION}
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO eProsima/Fast-CDR
REF v1.0.25
SHA512 6a20e8ba61fb516fce35bb27f02db8fb45f287bfd49574dcb39e149e6edde0b4d0598f00399a4d0557ca1f6133d96a6701d6475cbd9039879cddb5089b0ef447
REF v${VERSION}
SHA512 6b31e9ba2f7fe719eb4ac7af59a34cdff1c0d13ed40340d8bea8bfa477c0ffe080f4d6c73096add62f3b20af5fbf8ee8bde288dd9074bfb094b5b355016184f2
HEAD_REF master
PATCHES
pdb-file.patch
@ -20,10 +22,9 @@ vcpkg_copy_pdbs()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include ${CURRENT_PACKAGES_DIR}/lib/fastcdr ${CURRENT_PACKAGES_DIR}/debug/lib/fastcdr)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/fastcdr/eProsima_auto_link.h" "#define EPROSIMA_LIB_PREFIX \"lib\"" "#define EPROSIMA_LIB_PREFIX")
else()
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/fastcdr/config.h" "#define _FASTCDR_CONFIG_H_" "#define _FASTCDR_CONFIG_H_\r\n#define FASTCDR_DYN_LINK")
if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/fastcdr/eProsima_auto_link.h" "(defined(_DLL) || defined(_RTLDLL)) && defined(EPROSIMA_DYN_LINK)" "1")
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/fastcdr/fastcdr_dll.h" "defined(FASTCDR_DYN_LINK)" "1")
endif()
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "fastcdr",
"version-semver": "1.0.25",
"version-semver": "1.0.26",
"description": "eProsima FastCDR is a C++ library that provides two serialization mechanisms. One is the standard CDR serialization mechanism, while the other is a faster implementation that modifies the standard.",
"homepage": "https://github.com/eProsima/Fast-CDR",
"license": "Apache-2.0",

Просмотреть файл

@ -2285,7 +2285,7 @@
"port-version": 0
},
"fastcdr": {
"baseline": "1.0.25",
"baseline": "1.0.26",
"port-version": 0
},
"fastcgi": {

Просмотреть файл

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "8ac25a2de2fa721da695d61b5346f05e93a51bf7",
"version-semver": "1.0.26",
"port-version": 0
},
{
"git-tree": "770f5d0a255b922f7f1ef8c375ef4f13b0111252",
"version-semver": "1.0.25",