Debian Codegraph @

contrib/file_fdw/meson.build

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