tiagoantao / ymir

C codebase functions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ymir

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

Testing and coverage

Build with:

meson setup build -Db_coverage=true

After testing, get coverage with:

ninja coverage -c build

Sanitizer and Valgrind use

Build with:

meson setup build -Db_sanitizer=address

or:

meson setup build -Duse_valgrind=true

Requirements

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

TODO

  • add doxygen
  • add git hooks
    • clang-format

About

C codebase functions

License:Apache License 2.0


Languages

Language:C 70.7%Language:Meson 29.3%