summaryrefslogtreecommitdiff
path: root/test cases/frameworks/38 gettext extractor/meson.build
blob: a31c87d0aa69ed34b1b9909b00a2a6a9f265985f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
project(
    'gettext extractor',
    'c',
    default_options: {'default_library': 'static'},
    meson_version: '>=1.8.0',
)

if not find_program('xgettext', required: false).found()
    error('MESON_SKIP_TEST xgettext command not found')
endif

if host_machine.system() == 'darwin'
    error('MESON_SKIP_TEST test is unstable on macOS for unknown reasons')
endif

i18n = import('i18n')
xgettext_args = ['-ktr', '--add-comments=TRANSLATOR:', '--from-code=UTF-8']

subdir('src')