A robust and comprehensive C utility library designed for developers seeking reliable logic functions and seamless cross-platform support. Built with simplicity and performance in mind, everyutil-c
empowers your projects with reusable, well-tested utilities.
- ✅ Clean API: Well-documented header files with clear function declarations
- ✅ High Performance: Optimized C source implementations
- ✅ Thorough Testing: Extensive test suite to ensure reliability
- ✅ Cross-Platform: Supports Windows (DLL export), Linux, and macOS
- ✅ Flexible Build Options: Supports Makefile, Autotools, and CMake for easy integration
🎉 Latest Achievement: Gitty Draw!
We’ve recently enhanced everyutil-c
with streamlined build instructions and refactored array utility functions for better performance and maintainability. Check out the latest commit to see the improvements! Ready to contribute? Dive into our open issues or submit a PR to join the journey!
- C compiler (
gcc
,clang
, or similar) - Build tools:
make
,autoconf
, orcmake
- Optional: MSYS2 for Windows development
Run the automated build script for a hassle-free setup:
bash build.sh
Using Makefile (Direct)
make all # Build static, shared libraries, and tests
make static # Build static library only
make shared # Build shared library only
make test # Build and run tests
make clean # Clean build artifacts
Using Autotools
autoreconf --install
./configure
make
make test
Using CMake
mkdir build && cd build
cmake ..
make
- CMake not found?
Usebash build.sh
ormake all
as alternatives. The build script auto-installs dependencies on MSYS2/Linux. - Missing dependencies?
Install required tools:- MSYS2:
pacman -S autoconf gcc make
- Ubuntu/Debian:
sudo apt-get install autoconf gcc make
- Fedora:
sudo dnf install autoconf gcc make
- MSYS2:
Integrate everyutil-c
into your project with ease:
#include <everyutil/some_header.h> // Replace with actual header
int main() {
call_some_function(); // Call utility functions
return 0;
}
Link the library during compilation (e.g., -leveryutil
for shared or static library).
We welcome contributions! To get started:
- Fork the repository
- Create a feature branch (
git checkout -b feature/awesome-feature
) - Commit your changes (
git commit -m 'Add awesome feature'
) - Push to the branch (
git push origin feature/awesome-feature
) - Open a Pull Request
Check out our contributing guidelines for more details.
MIT License - © Ilker Ozturk (GitHub: @dailker) 2024
Thank you to all contributors and the open-source community for inspiring and supporting this project. Let’s keep building awesome tools together!