https://github.com/raphgl/clibs
My set of C libraries
https://github.com/raphgl/clibs
algorithms data-structures
Last synced: 9 months ago
JSON representation
My set of C libraries
- Host: GitHub
- URL: https://github.com/raphgl/clibs
- Owner: RaphGL
- License: mit
- Created: 2022-03-02T15:38:55.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-10-27T22:12:25.000Z (over 1 year ago)
- Last Synced: 2024-10-28T02:09:41.298Z (over 1 year ago)
- Topics: algorithms, data-structures
- Language: C
- Homepage:
- Size: 97.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CLibs
My set of C libraries
| **Library** | **Purpose** |
|-------------|-------------------------------------------|
| vec | generic dynamic array data structure |
| bstr | high level string library |
| flag | CLI flag parsing library inspired by Go's |
Note: This set of libraries still depend on libc for memory allocation, the str* functions, etc. It is not meant to be a standalone library at least for now.
It is not possible to change the memory allocator used for now but I'll change that later possibly.
## Building
The recommended way is to just build everything and then take whatever libraries you want from the generated `lib` directory
and it's corresponding header file from said library directory.
```sh
$ cmake . -DCMAKE_BUILD_TYPE=Release
$ make
```