Replace BackendIds with 0-based ProcNumbers Marina Polyakova <m.polyakova@postgrespro.ru>
[plantuner.git] / meson.build
1 # Copyright (c) 2023, Postgres Professional
2
3 plantuner_sources = files(
4   'plantuner.c'
5 )
6
7 if host_system == 'windows'
8   plantuner_sources += rc_lib_gen.process(win32ver_rc, extra_args: [
9     '--NAME', 'plantuner',
10     '--FILEDESC', 'plantuner - provides hints for the planner that can disable or enable indexes for query execution',])
11 endif
12
13 plantuner = shared_module('plantuner',
14   plantuner_sources,
15   kwargs: contrib_mod_args,
16 )
17 contrib_targets += plantuner
18
19 install_data(
20   kwargs: contrib_data_args,
21 )
22
23 tests += {
24   'name': 'plantuner',
25   'sd': meson.current_source_dir(),
26   'bd': meson.current_build_dir(),
27   'regress': {
28     'sql': [
29       'plantuner',
30     ],
31   },
32 }