File: meson.build

package info (click to toggle)
criterion 2.3.3git1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,832 kB
  • sloc: ansic: 17,852; cpp: 795; python: 72; sh: 27; makefile: 23
file content (12 lines) | stat: -rw-r--r-- 383 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
# we don't need to run gettext if i18n is enabled, but we certainly
# don't want to run it when it is disabled.
if not do_i18n.disabled()
	gettext = find_program('gettext', required: false)

	if gettext.found()
		add_project_arguments('-DGETTEXT_PACKAGE="criterion"', language: 'c')
		i18n.gettext(meson.project_name(),
			args: '--directory=' + meson.source_root()
		)
	endif
endif