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
|
plugins = [
'med-mad-reject',
'med-mad-reject-2d',
'ocl-1liner',
'stat-monitor',
]
kernels = [
'kernels/med-mad-reject.cl',
'kernels/med-mad-reject-2d.cl',
'kernels/ocl-1liner-skel.cl',
'kernels/stat-monitor.cl',
]
foreach plugin: plugins
name = ''.join(plugin.split('-'))
shared_module(name,
sources: ['ufo-@0@-task.c'.format(plugin), 'ufo-sxc-common.c'],
dependencies: deps,
name_prefix: 'libufofilter',
install: true,
install_dir: plugin_install_dir,
)
endforeach
install_data(kernels,
install_dir: kernel_install_dir,
)
conf = configuration_data()
conf.set('CL_TARGET_OPENCL_VERSION', '120')
configure_file(
input: 'config.h.meson.in',
output: 'config.h',
configuration: conf,
)
|