From 2bd000039b3133d942f20de841269e1d6bc5ba84 Mon Sep 17 00:00:00 2001 From: Emily Boudreaux Date: Mon, 5 May 2025 12:01:55 -0400 Subject: [PATCH] build(python): updated build system to point to all python interface modules --- src/python/composition/meson.build | 14 ++++++++------ src/python/meson.build | 3 ++- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/src/python/composition/meson.build b/src/python/composition/meson.build index 2449f5b..fce5833 100644 --- a/src/python/composition/meson.build +++ b/src/python/composition/meson.build @@ -1,5 +1,6 @@ # Define the library bindings_sources = files('bindings.cpp') +bindings_headers = files('bindings.h') dependencies = [ composition_dep, @@ -8,9 +9,10 @@ dependencies = [ pybind11_dep, ] -libPYcomposition = shared_module('py_composition', - bindings_sources, - cpp_args: ['-fvisibility=default'], - install : true, - dependencies: dependencies, -) +shared_module('py_composition', + bindings_sources, + cpp_args: ['-fvisibility=default'], + install : true, + dependencies: dependencies, + include_directories: include_directories('.') +) \ No newline at end of file diff --git a/src/python/meson.build b/src/python/meson.build index 33d6298..be2d427 100644 --- a/src/python/meson.build +++ b/src/python/meson.build @@ -1 +1,2 @@ -subdir('composition') \ No newline at end of file +subdir('composition') +subdir('const') \ No newline at end of file