Debian Codegraph @

contrib/tsm_system_time/meson.build

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