Releases: Tatsh/bfcodec
Releases · Tatsh/bfcodec
v0.0.4
Added
- Visual C++ (MSVC) build support with vcpkg for dependencies (argparse, libplist, libzip, spdlog).
- CI job
build-msvcon Windows: vcpkg manifest mode, Debug/Release matrix, NSIS + ZIP packaging. - CMake option
FORCE_PKGCONFIG_LIBPLISTto force PkgConfig for libplist instead of CMake config/vcpkg. - Byte-swap helpers use compiler intrinsics (
_byteswap_ulong/__builtin_bswap32) withmemcpyfor endian handling inbfcodec.c.
Changed
- C standard set to C17 for all compilers (including MSVC); removed MSVC-only C standard workarounds.
- Windows CPack package name:
bfcodec-{version}-{msvc|ucrt|mingw}{32|64}-{BuildType}(e.g.bfcodec-0.0.3-msvc64-Release). - libplist discovery in tools: try
find_package(libplist)thenfind_package(unofficial-libplist)before PkgConfig.
Fixed
- macOS CPack: use
CMAKE_APPLE_SILICON_PROCESSORandCMAKE_OSX_ARCHITECTURESso Darwin-arm64 is used on Apple Silicon instead of Darwin-x86_64. - MSVC C17: use array parameters
p[4]/b[4]instead of[static 4](unsupported in MSVC C17). - unjbt freshen/update: file time comparison uses
clock_castto system_clock on MSVC andfile_clock::from_syson macOS/GCC/Clang (MSVC does not providefile_clock::from_sys). - CI build-msvc: install NSIS before Configure; read project version from
CMakeLists.txtfor CPack package file name.
Full Changelog: v0.0.3...v0.0.4
v0.0.3
Bump version
v0.0.2
Bump version
v0.0.1
openssl-bf-enc: patch for OpenSSL to get the same output as bfcodec