From 74391420fa9890d33e8d89a15c816e6378c7aaef Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Sun, 12 Jul 2026 02:07:47 +0100 Subject: Initial commit --- meson.build | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 meson.build (limited to 'meson.build') diff --git a/meson.build b/meson.build new file mode 100644 index 0000000..7d85388 --- /dev/null +++ b/meson.build @@ -0,0 +1,23 @@ +project('domagi', 'c') + +cc = meson.get_compiler('c') +cc.has_header('verstable.h', required: true) +duckdb = dependency('DuckDB') +omp = dependency('openmp') + +py = import('python').find_installation() +py.install_sources('domagi/domagi.py', + subdir: 'domagi') + +install_data('domagi/matrix.sql', + 'domagi/schema.sql', + 'domagi/bed-depth.sql', + 'domagi/path-depth.sql', + 'domagi/pre-import.sql', + 'domagi/post-import.sql', + install_dir: py.get_install_dir() / 'domagi') + +executable('domagi_importgfa', + 'c/importgfa.c', + dependencies: [duckdb, omp], + install: true) \ No newline at end of file -- cgit 1.4.1