Qiang Zhang
Qiang Zhang

Reputation: 952

pybind11: how to export 100 library into one module?

Let's say, I have 100 c++ library, and I want to export to one python module.

Currently, the only method I can find is:

pybind11_add_module(module1 module1Binding.cpp)
pybind11_add_module(module2 module2Binding.cpp)
...
pybind11_add_module(module100 module100Binding.cpp)

It would create 100 library, and in each library, one c++ library would be exported into one python module.

Is it possble to create only one library, in which 100 c++ library would be exported?

Upvotes: 0

Views: 7

Answers (0)

Related Questions