pybind11_add_module (example_pb example_pb.cpp). 如果想在已有C++ 动态库上扩展pybind11 绑定,那么target_link_libraries 链接该动态库就可以了。
確定! 回上一頁