Debian Codegraph @

contrib/tablefunc/meson.build

raw
1 # Copyright (c) 2022-2025, PostgreSQL Global Development Group
2
3 tablefunc_sources = files(
4 'tablefunc.c',
5 )
6
7 if host_system == 'windows'
8 tablefunc_sources += rc_lib_gen.process(win32ver_rc, extra_args: [
9 '--NAME', 'tablefunc',
10 '--FILEDESC', 'tablefunc - various functions that return tables',])
11 endif
12
13 tablefunc = shared_module('tablefunc',
14 tablefunc_sources,
15 kwargs: contrib_mod_args,
16 )
17 contrib_targets += tablefunc
18
19 install_data(
20 'tablefunc--1.0.sql',
21 'tablefunc.control',
22 kwargs: contrib_data_args,
23 )
24
25 tests += {
26 'name': 'tablefunc',
27 'sd': meson.current_source_dir(),
28 'bd': meson.current_build_dir(),
29 'regress': {
30 'sql': [
31 'tablefunc',
32 ],
33 },
34 }