blob: f09915bc13887bd3ab323718b43717a09b58ffc7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
ipa_dummy_sources = [
['ipa_dummy', 'LGPL-2.1-or-later'],
['ipa_dummy_isolate', 'Proprietary'],
]
ipa_install_dir = join_paths(get_option('libdir'), 'libcamera')
foreach t : ipa_dummy_sources
ipa = shared_module(t[0], 'ipa_dummy.cpp',
name_prefix : '',
include_directories : libcamera_includes,
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) + '"')
|