Debian Codegraph @

utils/libcecutil/meson.build

raw
1 libcecutil_sources = files(
2 'cec-htng-funcs.h',
3 'cec-htng.h',
4 'cec-info.cpp',
5 'cec-info.h',
6 'cec-log.cpp',
7 'cec-log.h',
8 'cec-parse.cpp',
9 'cec-parse.h',
10 )
11
12 libcecutil_deps = [
13 dep_libdl,
14 dep_threads,
15 ]
16
17 libcecutil_incdir = [
18 utils_common_incdir,
19 v4l2_utils_incdir,
20 ]
21
22 cec_gen_sources = files(
23 '../../include/linux/cec.h',
24 'cec-htng.h',
25 '../../include/linux/cec-funcs.h',
26 'cec-htng-funcs.h',
27 )
28
29 configure_file(
30 input : 'cec-gen.pl',
31 output : 'cec-gen-dummy.stamp',
32 command : [prog_perl, '@INPUT@', cec_gen_sources, 'utils/libcecutil'],
33 )
34
35 libcecutil = static_library('cecutil',
36 libcecutil_sources,
37 install : false,
38 dependencies : libcecutil_deps,
39 include_directories : libcecutil_incdir)
40
41 dep_libcecutil = declare_dependency(
42 link_with : libcecutil,
43 include_directories : '.',
44 )