pymake/tests/generate_pybind11.py
2024-06-15 23:22:44 +08:00

9 lines
142 B
Python

from pymake import *
(
cmake("3.15")
.project("test_pybind11")
.pybind11_add_module(var(project_name),"main.cpp")
.write()
)