File size: 152 Bytes
be11144
 
 
 
 
 
1
2
3
4
5
6
7
#include <pybind11/pybind11.h>
namespace py = pybind11;

PYBIND11_MODULE(test_cmake_build, m) {
    m.def("add", [](int i, int j) { return i + j; });
}