-
Notifications
You must be signed in to change notification settings - Fork 9
/
meson.build
44 lines (37 loc) · 893 Bytes
/
meson.build
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
project(
'ntEdit',
'cpp',
version: '2.1.1',
license: 'GPL-3',
default_options: [
'cpp_std=c++17',
'werror=true',
'warning_level=3',
'optimization=3',
'b_lto=true',
]
)
compiler = meson.get_compiler('cpp')
dependencies = [
dependency('openmp'),
dependency('zlib'),
compiler.find_library('btllib'),
compiler.find_library('boost_iostreams'),
]
include_dirs = [
include_directories('src/vendor/argparse/include'),
]
link_args = [ '-lbtllib' ]
executable(
'ntedit',
'ntedit.cpp',
dependencies: dependencies,
include_directories: 'lib',
link_args: link_args,
install: true,
)
src_files = [ 'ntedit_make_genome_bf.cpp' ]
# Source files and scripts
subdir('src')
scripts = ['run-ntedit', 'ntedit_run_pipeline.smk']
install_data(scripts, install_dir : 'bin', install_mode : 'rwxr-xr--')