-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmeson.build
More file actions
32 lines (23 loc) · 816 Bytes
/
meson.build
File metadata and controls
32 lines (23 loc) · 816 Bytes
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
project('ntSynt', 'cpp',
version : '1.0.5',
license : 'GPL-3',
default_options : [ 'cpp_std=c++17', 'warning_level=3', 'werror=true' ])
compiler = meson.get_compiler('cpp')
btllib_dep = compiler.find_library('btllib')
openmp_dep = dependency('openmp')
include_dirs = [
include_directories('src/vendor/argparse/include'),
]
rootpath = meson.source_root()
src_files = [ 'ntsynt_make_common_bf.cpp' ]
deps = [ btllib_dep, openmp_dep ]
link_args = [ '-lbtllib' ]
clang_format = find_program('clang-format', required : false)
if clang_format.found()
run_target('format', command: join_paths(rootpath, 'src/scripts/format'))
endif
# Source files and scripts
subdir('src')
subdir('bin')
# Install required files from ntJoin submodule
meson.add_install_script('scripts/install-ntjoin')