kumose Project Description
This project uses kmpkg for dependency management and build integration.
kmpkg automatically handles third-party library downloads, dependency resolution, and compiler flag configuration, avoiding the need to manually maintain complex CMake settings.
- Linux (Ubuntu 20.04+ / CentOS 7+ Recommended)
- CMake >= 3.20
- GCC >= 9.4 / Clang >= 12
- Make sure
kmpkgis installed correctly, documents see installation guide
- For the complete dependencies, refer to
kmpkg.json - To update the dependency baseline, modify the
baselineindefault-registryofkmpkg-configuration.json - the
baselinecan be obtained viagit log.
Run in the project root directory:
cmake --preset=defualt
cmake --build build -j$(nproc)If you manage dependencies yourself, you can build the project with standard CMake commands:
mkdir build
cd build
cmake ..
make -j$(nproc)Note
--preset=defaultrequires that the corresponding CMake preset is defined in the project root directory.- When managing dependencies manually, make sure CMake’s find_package can locate all required libraries.
Run in the project root directory:
ctest --test-dir build