Debian Codegraph @

test cases/frameworks/6 gettext/meson.build

raw
1 project('gettext example', 'c')
2
3 gettext = find_program('gettext', required: false)
4 if not gettext.found()
5 error('MESON_SKIP_TEST gettext not found.')
6 endif
7
8 xgettext = find_program('xgettext', required: false)
9 if not xgettext.found()
10 error('MESON_SKIP_TEST xgettext not found.')
11 endif
12
13 intl = dependency('intl', required: false, static: get_option('static'))
14 if not intl.found()
15 error('MESON_SKIP_TEST libintl/gettext functions not found.')
16 endif
17
18 itstool = find_program('itstool', required: false)
19
20 i18n = import('i18n')
21
22 subdir('po')
23 subdir('src')
24 subdir('data')
25 subdir('data2')
26 subdir('data3')
27 subdir('generated')