Debian Codegraph @

src/test/modules/test_parser/meson.build

raw
1 # Copyright (c) 2022-2025, PostgreSQL Global Development Group
2
3 test_parser_sources = files(
4 'test_parser.c',
5 )
6
7 if host_system == 'windows'
8 test_parser_sources += rc_lib_gen.process(win32ver_rc, extra_args: [
9 '--NAME', 'test_parser',
10 '--FILEDESC', 'test_parser - example of a custom parser for full-text search',])
11 endif
12
13 test_parser = shared_module('test_parser',
14 test_parser_sources,
15 kwargs: pg_test_mod_args,
16 )
17 test_install_libs += test_parser
18
19 test_install_data += files(
20 'test_parser.control',
21 'test_parser--1.0.sql',
22 )
23
24 tests += {
25 'name': 'test_parser',
26 'sd': meson.current_source_dir(),
27 'bd': meson.current_build_dir(),
28 'regress': {
29 'sql': [
30 'test_parser',
31 ],
32 },
33 }