Debian Codegraph @

contrib/oid2name/meson.build

raw
1 # Copyright (c) 2022-2025, PostgreSQL Global Development Group
2
3 oid2name_sources = files(
4 'oid2name.c',
5 )
6
7 if host_system == 'windows'
8 oid2name_sources += rc_bin_gen.process(win32ver_rc, extra_args: [
9 '--NAME', 'oid2name',
10 '--FILEDESC', 'oid2name - examine the file structure',])
11 endif
12
13 oid2name = executable('oid2name',
14 oid2name_sources,
15 dependencies: [frontend_code, libpq],
16 kwargs: default_bin_args,
17 )
18 contrib_targets += oid2name
19
20 tests += {
21 'name': 'oid2name',
22 'sd': meson.current_source_dir(),
23 'bd': meson.current_build_dir(),
24 'tap': {
25 'tests': [
26 't/001_basic.pl',
27 ],
28 },
29 }