about summary refs log tree commit diff
path: root/meson.build
blob: 7d853880c4f1da8924ffc7527e74fac2c1b9f79c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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)