pybind11 simple example (In python 3.5)
Clone and go into internal c_func
folder, run pip3 install .
. Then run python3 sample.py
for python code.
When you include some LIB that need the link of other LIB, you can follow this issue, and add something like target_link_libraries(c_lib PRIVATE ${YOUR_LIBRARIES})