2013-09-12 05:03:46 +08:00
|
|
|
project('gettext example', 'c')
|
|
|
|
|
2018-02-13 00:30:35 +08:00
|
|
|
gettext = find_program('gettext', required: false)
|
|
|
|
if not gettext.found()
|
|
|
|
error('MESON_SKIP_TEST gettext not found.')
|
|
|
|
endif
|
|
|
|
|
|
|
|
if not meson.get_compiler('c').has_header('libintl.h')
|
|
|
|
error('MESON_SKIP_TEST libintl.h 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')
|
2016-12-03 09:21:07 +08:00
|
|
|
subdir('data')
|
2018-08-23 15:41:29 +08:00
|
|
|
subdir('data2')
|