cd lib
mkdir build
cmake ..
make
This builds everything.
Under lib/examples
there are some examples
-
c_example.c
: Example C program that consumes library calls. -
cpp_example.cpp
: Example C++ program that consumes library calls. -
consumer.cpp
: Example C++ program from https://caiorss.github.io/C-Cpp-Notes/passing-lambda.html. -
cpp_callback.cpp
: Example C++ program showcasing calling C++ Lambdas and classic functions as callbacks.