-
Notifications
You must be signed in to change notification settings - Fork 0
/
meson.build
61 lines (50 loc) · 1.23 KB
/
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
project(
'taranis',
'cpp',
version: '1.12.0-pre',
meson_version: '>= 0.61.2',
default_options : [
'cpp_std=c++17',
]
)
compiler = meson.get_compiler('cpp')
taranis_deps = [
compiler.find_library('inkview', required: true),
dependency('boost',
modules: ['filesystem', 'date_time', 'log',
'log_setup', 'system', 'thread'],
required: true, static: true),
dependency('libcurl', required: true),
dependency('jsoncpp', required: true),
dependency('gsl', required: true, static: true),
compiler.find_library('gslcblas', required: true, static: true),
compiler.find_library('m', required: true, static: true),
dependency('opencv', required: true),
]
i18n = import('i18n')
subdir('icons')
subdir('po')
subdir('src')
subdir('packaging')
application = executable(
'taranis.app',
sources,
dependencies: taranis_deps,
install: true,
install_dir: '/sinstall',
)
installer_tgt = run_target(
'installer',
command: 'scripts/build_installer.sh',
depends: [application]
)
archive_tgt = run_target(
'archive',
command: 'scripts/build_archive.sh',
depends: [application]
)
sha_tgt = run_target(
'sha',
command: 'scripts/compute_sha.sh',
depends: [application]
)