feat(python): added python bindings

This commit is contained in:
2026-07-01 11:14:12 -04:00
parent 37416adb03
commit 39e5117a24
40 changed files with 2434 additions and 99 deletions

View File

@@ -1,4 +1,20 @@
subdir('mfem')
subdir('libconfig')
subdir('CLI11')
subdir('magic_enum')
subdir('magic_enum')
if get_option('build_python')
subdir('python')
subdir('pybind')
endif
if get_option('build_python')
stroid_pkg_dir = py_installation.get_install_dir() / 'stroid'
stroid_includedir = stroid_pkg_dir / 'include'
stroid_libdir = stroid_pkg_dir / 'lib'
stroid_pcdir = stroid_libdir / 'pkgconfig'
else
stroid_includedir = get_option('includedir')
stroid_libdir = get_option('libdir')
stroid_pcdir = get_option('libdir') / 'pkgconfig'
endif