Add Python interface

This commit is contained in:
Bram Veenboer
2025-08-12 14:55:28 +02:00
parent 0cbefb77b7
commit f40c44d5dd
3 changed files with 97 additions and 1 deletions

8
python/CMakeLists.txt Normal file
View File

@@ -0,0 +1,8 @@
FetchContent_Declare(
pybind11
GIT_REPOSITORY https://github.com/pybind/pybind11.git
GIT_TAG v3.0.0)
FetchContent_MakeAvailable(pybind11)
pybind11_add_module(pytrigdx bindings.cpp)
target_link_libraries(pytrigdx PRIVATE trigdx)