diff options
author | Sinan Mohd <sinan@sinanmohd.com> | 2024-06-26 11:29:28 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-26 11:29:28 +0530 |
commit | 8348bde98acac3328fee84d21f8e5ebb51692afa (patch) | |
tree | 16830bb2d6f8774a99864c52be47ee9abe13bed8 /meson.build | |
parent | cc02eba1d357dde0132593649c67a194750fe37d (diff) | |
parent | e575e08cacd3461feae843d368fa205c85304b2c (diff) |
Merge pull request #1 from SomeoneSerge/feat/python
evanix-py: init
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 38f78d7..e5290f8 100644 --- a/meson.build +++ b/meson.build @@ -21,4 +21,13 @@ add_project_arguments( cjson_dep = dependency('libcjson') evanix_inc = include_directories('include') +if get_option('build-python') + py = import('python').find_installation() + py.extension_module( + 'evanix', + 'src/evanix-py.c', + install: true, + ) +endif + subdir('src') |