What is the best way to make use of a third party library written in C++? We'd like to access a library that we've written from a python-based fenics application.
I've seen the example in the documentation where custom C++ code is made accessible (probe.cpp) and was wondering if this is suggested route. Shall we just make a single source file shim code, access our library through this and then pass the needed flags to compile by passing them to swigargs? Or is there a better way to do this?
Thanks!
Chris