version 5.5.1

add SipHash and HalfSipHash for PIDigest
This commit is contained in:
2025-10-08 21:15:28 +03:00
parent 1d76cacae2
commit 978e350722
16 changed files with 3965 additions and 59 deletions

View File

@@ -6,7 +6,7 @@ endif()
project(PIP)
set(PIP_MAJOR 5)
set(PIP_MINOR 5)
set(PIP_REVISION 0)
set(PIP_REVISION 1)
set(PIP_SUFFIX )
set(PIP_COMPANY SHS)
set(PIP_DOMAIN org.SHS)
@@ -116,8 +116,10 @@ macro(pip_module NAME LIBS LABEL INCLUDES SOURCES MSG)
list(REMOVE_ITEM HS ${PHS})
endif()
if (NOT "x${SOURCES}" STREQUAL "x")
file(GLOB_RECURSE ASRC "${SOURCES}/*.cpp" "${SOURCES}/*.c")
list(APPEND CPPS ${ASRC})
foreach (_s ${SOURCES})
file(GLOB_RECURSE ASRC "${_s}/*.cpp" "${_s}/*.c")
list(APPEND CPPS ${ASRC})
endforeach()
endif()
list(APPEND HDRS ${HS})
list(APPEND PHDRS ${PHS})
@@ -380,7 +382,7 @@ endif()
add_subdirectory("3rd/pcre2" EXCLUDE_FROM_ALL)
list(APPEND LIBS_MAIN pcre2-16-static)
pip_module(main "${LIBS_MAIN}" "PIP main library" "" "${PIP_3PL_DIR}/BLAKE2" "")
pip_module(main "${LIBS_MAIN}" "PIP main library" "" "${PIP_3PL_DIR}/BLAKE2;${PIP_3PL_DIR}/SipHash" "")
generate_export_header(pip)
list(APPEND HDRS "${CMAKE_CURRENT_BINARY_DIR}/pip_export.h")