-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmeson.build
More file actions
41 lines (32 loc) · 1.05 KB
/
meson.build
File metadata and controls
41 lines (32 loc) · 1.05 KB
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
project('ilda-decoder', 'c',
default_options : 'c_std=c11',
version : '1.0.0',
license : 'MIT')
sdl2_dep = dependency('sdl2', required : false)
install_headers('ilda-decoder.h')
ilda_decoder_lib = both_libraries('ilda-decoder',
'ilda-decoder.c',
pic : false,
install : true)
pkg = import('pkgconfig')
pkg.generate(libraries : ilda_decoder_lib,
version : '1.0',
name : 'libilda-decoder',
filebase : 'ilda-decoder',
description : 'A library to decode ILDA files.')
ilda_dump = executable('ilda-dump', 'ilda-dump.c',
link_with : ilda_decoder_lib,
install : true)
if sdl2_dep.found()
ilda_display = executable('ilda-display', 'ilda-display.c',
dependencies : sdl2_dep,
link_with : ilda_decoder_lib,
install : true)
endif
ilda_max_records = executable('ilda-max-records', 'ilda-max-records.c',
link_with : ilda_decoder_lib,
install : true)
ilda_check_liveness = executable('ilda-check-liveness', 'ilda-check-liveness.c',
link_with : ilda_decoder_lib,
install : true)
subdir('tests')