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
|
ipa_vimc_sources = [
['ipa_vimc', 'LGPL-2.1-or-later'],
['ipa_vimc_isolate', 'Proprietary'],
]
ipa_install_dir = join_paths(get_option('libdir'), 'libcamera')
ipa_includes = [
libcamera_includes,
libcamera_internal_includes,
]
subdir('libipa')
foreach t : ipa_vimc_sources
ipa = shared_module(t[0], 'ipa_vimc.cpp',
name_prefix : '',
include_directories : ipa_includes,
dependencies : libcamera_dep,
link_with : libipa,
install : true,
install_dir : ipa_install_dir,
cpp_args : '-DLICENSE="' + t[1] + '"')
endforeach
config_h.set('IPA_MODULE_DIR',
'"' + join_paths(get_option('prefix'), ipa_install_dir) + '"')
subdir('rkisp1')
|