-
Notifications
You must be signed in to change notification settings - Fork 3
/
meson.build
36 lines (29 loc) · 793 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
project('xfce4-xapp-status-plugin',
'c',
version : '0.2.5'
)
gnome = import('gnome')
pkg = import('pkgconfig')
i18n = import('i18n')
add_global_arguments([
'-Wunused',
'-Wimplicit-function-declaration'
],
language: 'c'
)
if not get_option('deprecated_warnings')
add_global_arguments([
'-Wno-deprecated-declarations',
'-Wno-deprecated',
'-Wno-declaration-after-statement',
],
language: 'c',
)
endif
gettext_package = meson.project_name()
locale_dir = join_paths(get_option('prefix'), get_option('localedir'))
add_project_arguments('-DGETTEXT_PACKAGE="@0@"'.format(gettext_package), language:'c')
add_project_arguments('-DLOCALEDIR="@0@"'.format(locale_dir), language:'c')
top_inc = include_directories('.')
subdir('plugin')
subdir('po')