Install • Test • Use • Documentation
git clone https://github.com/Morphux/libmpm.git
make init
By default, the Makefile will create a ready-to-use library, containing the following:
- libmpm
- libcurl
- json
- sqlite
- libconfuse
The result is roughly ~20MB
make
If you want to compile just the libmpm library:
make single
Single lib is about 74Ko
valgrind
make check
make -C tests valgrind
make coverage
Compile with the following options
gcc [...] -Llibmpm/ -lmpm -pthread -ldl -Ilibmpm/inc
Of course, libmpm
directory must exist.
In code:
#include <libmpm.h>
doxygen
Generate it:
make doc