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
46
47
48
49
50
51
52
53
| fulleq_sources = files(
| 'fulleq.c'
| )
|
| if host_system == 'windows'
| fulleq_sources += rc_lib_gen.process(win32ver_rc, extra_args: [
| '--NAME', 'fulleq',
| '--FILEDESC', 'fulleq',])
| endif
|
| contrib_targets += custom_target('fulleq--2.0.sql',
| input: 'fulleq--2.0.sql.in',
| output: 'fulleq--2.0.sql',
| command: [meson.current_source_dir() / 'generate.sh', 'packaged', '@INPUT@'],
| capture: true,
| install: true,
| install_dir: contrib_data_args['install_dir'],
| )
|
| contrib_targets += custom_target('fulleq--unpackaged--2.0.sql',
| input: 'fulleq--unpackaged--2.0.sql.in',
| output: 'fulleq--unpackaged--2.0.sql',
| command: [meson.current_source_dir() / 'generate.sh', 'unpackaged', '@INPUT@'],
| capture: true,
| install: true,
| install_dir: contrib_data_args['install_dir'],
| )
|
| fulleq = shared_module('fulleq',
| fulleq_sources,
| kwargs: contrib_mod_args + {
| 'dependencies': contrib_mod_args['dependencies'],
| },
| )
| contrib_targets += fulleq
|
| install_data(
| 'fulleq.control',
| kwargs: contrib_data_args,
| )
|
| tests += {
| 'name': 'fulleq',
| 'sd': meson.current_source_dir(),
| 'bd': meson.current_build_dir(),
| 'regress': {
| 'sql': [
| 'fulleq'
| ]
| },
| }
|
| # TODO: DOCS = README.fulleq
|
|