ccDB
This is a basic C project template designed to provide a clean and organized starting point for your C development. Ive designed it to be C with Quality of Life headers in base.
Plans are to create and include these things:
TODO: warden.h (Allocators)
- Logging
- Allocators
- Data Structures and Algorithms
Directory Structure
.
├── src/ # source dir
├── base/ # base headers
├── include/ # external includes
├── lib/ # external libs
├── docs/ # project docs
├── build/ # all build artifacts output
├── README.md # This file
└── LICENSE # Placeholder for your project's license
How to Use This Template
- Clone or Download: Get this template to your local machine.
- If you’re using Git:
git clone https://codeberg.org/Alfred-Jijo/ccdb.git my_project - Then
cd my_project
- If you’re using Git:
- Building
- This project uses mate.h for its building needs
- It is included in this project
- Build the mate.c already included to bootstrap the build system
- POSIX systems:
gcc -o mate mate.c clang -o mate mate.c - Windows
cl mate.c
- Customize:
- Rename
project - Modify
src/main.cand other files to suit your project’s needs.
- Rename
- Build: Open your terminal in the project’s root directory and run:
./mate- or
mate.exeon Windows
This will compile your source code and create the executable in thebuild/directory.
License
This project is under the MIT License.