C codebase library.
This is a bunch of functions that I personally use a lot when coding in C. You probably don't want to use it wholesale, but maybe take part of the code yourself. If you use part of the code, please attribute it in whatever way is more convenient.
Tested on Linux only.
rm -rf build
meson setup build
meson compile -C build
meson test -C build
Build with:
meson setup build -Db_coverage=true
After testing, get coverage with:
ninja coverage -c build
Build with:
meson setup build -Db_sanitizer=address
or:
meson setup build -Duse_valgrind=true
Specified as Debian-based dependencies. Similar packages should exist for other Linuxes (and *nix derivatives).
apt-get install meson ninja-build check doxygen gcovr clang-format
apt-get install libpng
- add doxygen
- add git hooks
- clang-format