forked from blackhole89/notekit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmeson.build
44 lines (36 loc) · 932 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('notekit', 'cpp',
version : '0.1',
default_options : ['warning_level=3', 'cpp_std=c++14']
)
conf_data = configuration_data()
deps = [
dependency('gtkmm-3.0'),
dependency('gtksourceviewmm-3.0'),
dependency('jsoncpp'),
dependency('zlib'),
dependency('fontconfig')
]
if get_option('clatexmath')
deps += dependency('clatexmath', version: '>=0.0.3')
conf_data.set('HAVE_CLATEXMATH', true)
endif
configure_file(input : 'config.h.meson.in',
output : 'config.h',
configuration : conf_data
)
subdir('freedesktop')
install_subdir('data/', install_dir: get_option('datadir')/'notekit')
install_subdir('sourceview/', install_dir: get_option('datadir')/'notekit')
#if get_option('clatexmath')
# meson.add_install_script('symlink-clatexmath.sh')
#endif
executable('notekit',
'drawing.cpp',
'imagewidgets.cpp',
'main.cpp',
'mainwindow.cpp',
'navigation.cpp',
'notebook.cpp',
dependencies: deps,
install : true
)