aboutsummaryrefslogtreecommitdiff
path: root/contrib/tcn/meson.build
blob: 6ffb136af904d49bdf739de8b8507927865fc4c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright (c) 2022-2025, PostgreSQL Global Development Group

tcn_sources = files(
  'tcn.c',
)

if host_system == 'windows'
  tcn_sources += rc_lib_gen.process(win32ver_rc, extra_args: [
    '--NAME', 'tcn',
    '--FILEDESC', 'tcn - trigger function notifying listeners',])
endif

tcn = shared_module('tcn',
  tcn_sources,
  kwargs: contrib_mod_args,
)
contrib_targets += tcn

install_data(
  'tcn--1.0.sql',
  'tcn.control',
  kwargs: contrib_data_args,
)

tests += {
  'name': 'tcn',
  'sd': meson.current_source_dir(),
  'bd': meson.current_build_dir(),
  'isolation': {
    'specs': [
      'tcn',
    ],
    'regress_args': ['--load-extension=tcn'],
  },
}