A lightweight, modular C utility library providing common data structures and utilities.
- Modular Design - Choose only the modules you need
- Easy Integration - CMake-based build system with FetchContent support
- Cross-Platform - Works on Linux, macOS, and Windows
| Module | Description | Status |
|---|---|---|
| Core | Vector, HashMap, Math utilities, Path utilities | in progress |
Add the following to your CMakeLists.txt:
cmake_minimum_required(VERSION 3.14)
project(my_project LANGUAGES C)
include(FetchContent)
FetchContent_Declare(
cutils
GIT_REPOSITORY https://github.com/Nikki-kun/cutils.git
GIT_TAG main # or specific tag: v0.1.0
)
FetchContent_MakeAvailable(cutils)
add_executable(my_app main.c)
target_link_libraries(my_app cutils)
target_include_directories(my_app PRIVATE ${cutils_SOURCE_DIR}/include)