forked from AravisProject/aravis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmeson.build
33 lines (27 loc) · 936 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
viewer_sources = [
'main.c',
'arvviewer.c'
]
viewer_headers = [
'arvviewertypes.h',
'arvviewer.h'
]
viewer_c_args = [
'-I../src',
'-DPACKAGE_LOCALE_DIR="@0@"'.format (join_paths (get_option ('prefix'), 'locale')),
'-DARAVIS_DATA_DIR="@0@"'.format (join_paths (get_option ('prefix'), aravis_data_dir)),
'-DARAVIS_API_VERSION="@0@"'.format (aravis_api_version),
'-DARAVIS_ICON_DIR="@0@"'.format (join_paths (get_option ('prefix'), aravis_data_dir, 'icons'))
]
executable ('arv-viewer-@0@'.format (aravis_api_version),
viewer_sources, viewer_headers,
link_with: aravis_library,
c_args: viewer_c_args,
include_directories: [configuration_inc, library_inc],
dependencies: aravis_viewer_dependencies,
install: true)
install_data ('arv-viewer.ui', install_dir: aravis_data_dir)
install_subdir (join_paths ('icons', 'gnome'),
install_dir: aravis_icon_dir,
strip_directory: true)
subdir ('data')