RokkoPythonBinding - t-sakashita/rokko GitHub Wiki
RokkoのPython Binding
使い方(pybind11)
PYBIND11_PYTHON_VERSION
でPythonのバージョンを指定できる。
cmake .. -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -DCMAKE_BUILD_TYPE=Debug -DPYBIND11_PYTHON_VERSION=3.6
-- Found PythonInterp: /opt/local/bin/python3.6 (found suitable version "3.6.9", minimum required is "3.6")
-- Found PythonLibs: /opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/libpython3.6m.dylib