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