# sharkbuffer **Repository Path**: kumo-pub/sharkbuffer ## Basic Information - **Project Name**: sharkbuffer - **Description**: SharkBuffer: High-performance memory and serialization toolkit, enabling safe, dynamic, and efficient C++ access to row- and column-oriented data. - **Primary Language**: Unknown - **License**: AGPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-09-06 - **Last Updated**: 2025-09-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README shark ============================= shark 项目说明 ## 🛠️ Build 本项目使用 [kmpkg](https://gitee.com/kumo-pub/kmpkg) 进行依赖管理与构建集成。 kmpkg 会自动处理第三方库下载、依赖查找、编译标志配置等,避免手工维护复杂的 CMake 配置。 ### 0. 准备环境 - Linux (Ubuntu 20.04+ / CentOS 7+ 推荐) - CMake >= 3.25 - GCC >= 9.4 / Clang >= 12 - 已安装 `kmpkg` (参见 [安装文档](https://kumo-pub.github.io/docs/category/%E6%8C%81%E7%BB%AD%E9%9B%86%E6%88%90----kmpkg)) ### 1. 配置项目(可选) - 完整的依赖请参见[`kmpkg.json`](kmpkg.json) - 更新依赖基线请参见[`kmpkg-configuration.json`](kmpkg-configuration.json) 修改 `default-registry`的`baseline` - `baseline` 可通过 `git log` 获取最新提交 - 可选:用户可以自行管理依赖,确保 CMake 的 find_package 能正确找到所需库 - 例如在系统路径或自定义路径安装依赖,并通过 CMAKE_PREFIX_PATH 指定 - 或在 kmpkg 中声明外部依赖路径,避免重复下载 ### 2. 编译项目 在项目根目录执行: ```bash cmake --preset=defualt cmake --build build -j$(nproc) ``` 自管理依赖: ```shell mkdir build cd build cmake .. make -j$(nproc) ``` ***注意*** --preset=default 需确保已在项目根目录下定义相应 CMake Preset ### 3. 运行测试(可选) 在项目根目录执行: ```shell ctest --test-dir build ```