#include namespace py = pybind11; PYBIND11_PLUGIN(test_installed_target) { py::module m("test_installed_target"); m.def("add", [](int i, int j) { return i + j; }); return m.ptr(); }