Debian Codegraph @

test cases/frameworks/38 gettext extractor/meson.build

raw
1 project(
2 'gettext extractor',
3 'c',
4 default_options: {'default_library': 'static'},
5 meson_version: '>=1.8.0',
6 )
7
8 if not find_program('xgettext', required: false).found()
9 error('MESON_SKIP_TEST xgettext command not found')
10 endif
11
12 if host_machine.system() == 'darwin'
13 error('MESON_SKIP_TEST test is unstable on macOS for unknown reasons')
14 endif
15
16 i18n = import('i18n')
17 xgettext_args = ['-ktr', '--add-comments=TRANSLATOR:', '--from-code=UTF-8']
18
19 subdir('src')