Install from Source
CMake
The log module of kumo is integrated into turbo, located in the turbo/log directory.
CMake can be used for compilation across a wide range of platforms. A typical workflow for building turbo on GNU-based Unix-like systems with make as the build tool is as follows:
- Clone the repository and navigate to the source directory.
git clone https://github.com/kumose/turbo.git
cd turbo
- Run CMake to configure the build tree.
cmake -S . -B build -G "Unix Makefiles"
CMake provides different generators, and by default selects the one most relevant to the current environment. To specify a generator explicitly, use cmake . -G <generator-name> to generate the target build system.
Available generators can be viewed with cmake --help.
- Use the generated files to compile the project.
cmake --build build
- Test the project (optional).
cmake --build build --target test
- Install the compiled files (optional).
cmake --build build --target install
After successful compilation, integrate turbo/log into your project.