meson/test cases/frameworks/6 gettext/meson.build

25 lines
556 B
Meson
Raw Normal View History

2013-09-12 05:03:46 +08:00
project('gettext example', 'c')
gettext = find_program('gettext', required: false)
if not gettext.found()
error('MESON_SKIP_TEST gettext not found.')
endif
xgettext = find_program('xgettext', required: false)
if not xgettext.found()
error('MESON_SKIP_TEST xgettext not found.')
endif
intl = dependency('intl', required: false, static: get_option('static'))
if not intl.found()
error('MESON_SKIP_TEST libintl/gettext functions not found.')
endif
2016-03-29 01:15:16 +08:00
i18n = import('i18n')
2013-09-12 05:03:46 +08:00
subdir('po')
subdir('src')
subdir('data')
subdir('data2')
subdir('generated')