forked from libvips/libvips
-
Notifications
You must be signed in to change notification settings - Fork 0
/
meson.build
42 lines (38 loc) · 862 Bytes
/
meson.build
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
tools = [
'vips',
'vipsedit',
'vipsthumbnail',
'vipsheader'
]
foreach tool : tools
executable(tool,
tool + '.c',
dependencies: libvips_dep,
install: true
)
endforeach
scripts = [
'light_correct.in',
'shrink_width.in',
'batch_image_convert.in',
'batch_rubber_sheet.in',
'batch_crop.in',
]
script_data = configuration_data()
script_data.set('prefix', get_option('prefix'))
foreach script : scripts
configure_file(
input: script,
output: '@BASENAME@',
install: true,
install_dir: get_option('prefix') / get_option('bindir'),
install_mode: 'rwxr-xr-x',
configuration: script_data
)
endforeach
install_data(
'vipsprofile',
'vips-8.13',
install_dir: get_option('prefix') / get_option('bindir'),
install_mode: 'rwxr-xr-x',
)