Debian Codegraph @

contrib/tcn/meson.build

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