-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathmeson.build
More file actions
45 lines (39 loc) · 971 Bytes
/
meson.build
File metadata and controls
45 lines (39 loc) · 971 Bytes
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
33
34
35
36
37
38
39
40
41
42
43
44
45
# Copyright (c) 2025, Postgres Professional
# Does not support the PGXS infrastructure at this time. Please, compile as part
# of the contrib source tree.
ptrack_sources = files(
'datapagemap.c',
'engine.c',
'ptrack.c',
)
if host_system == 'windows'
ptrack_sources += rc_lib_gen.process(win32ver_rc, extra_args: [
'--NAME', 'ptrack',
'--FILEDESC', 'ptrack - block-level incremental backup engine for Postgres Pro.',])
endif
ptrack = shared_module('ptrack',
ptrack_sources,
kwargs: contrib_mod_args,
)
contrib_targets += ptrack
install_data(
'ptrack.control',
'ptrack--2.0--2.1.sql',
'ptrack--2.1--2.2.sql',
'ptrack--2.1.sql',
'ptrack--2.2--2.3.sql',
'ptrack--2.3--2.4.sql',
'ptrack--2.4--2.5.sql',
kwargs: contrib_data_args,
)
tests += {
'name': 'ptrack',
'sd': meson.current_source_dir(),
'bd': meson.current_build_dir(),
'tap': {
'tests': [
't/001_basic.pl',
't/002_cfs_compatibility.pl',
],
},
}