google it
http://www.swig.org/Doc3.0/CSharp.html
http://samanbarghi.com/blog/2016/12/06/generate-c-interface-from-c-source-code-using-clang-libtooling/
https://github.com/mono/CppSharp
http://szelei.me/code-generator/
c++ binding code generator based on clang
原文:https://www.cnblogs.com/lilei9110/p/12154350.html