aboutsummaryrefslogtreecommitdiff
path: root/src/test/modules/spgist_name_ops/meson.build
blob: a9596a8a12df6b0729452739799d781d70494bbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright (c) 2022-2025, PostgreSQL Global Development Group

spgist_name_ops_sources = files(
  'spgist_name_ops.c',
)

if host_system == 'windows'
  spgist_name_ops_sources += rc_lib_gen.process(win32ver_rc, extra_args: [
    '--NAME', 'spgist_name_ops',
    '--FILEDESC', 'spgist_name_ops - test opclass for SP-GiST',])
endif

spgist_name_ops = shared_module('spgist_name_ops',
  spgist_name_ops_sources,
  kwargs: pg_test_mod_args,
)
test_install_libs += spgist_name_ops

test_install_data += files(
  'spgist_name_ops.control',
  'spgist_name_ops--1.0.sql',
)
tests += {
  'name': 'spgist_name_ops',
  'sd': meson.current_source_dir(),
  'bd': meson.current_build_dir(),
  'regress': {
    'sql': [
      'spgist_name_ops',
    ],
  },
}