Give a subdirectory to all IPA modules to make the structure of the source tree more consistent. This will also simplify the implementation of IPA module selection at build time. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
16 lines
571 B
Meson
16 lines
571 B
Meson
ipa_vimc_sources = [
|
|
['ipa_vimc', 'LGPL-2.1-or-later'],
|
|
['ipa_vimc_isolate', 'Proprietary'],
|
|
]
|
|
|
|
foreach t : ipa_vimc_sources
|
|
ipa = shared_module(t[0], 'vimc.cpp',
|
|
name_prefix : '',
|
|
include_directories : [ipa_includes, libipa_includes],
|
|
dependencies : libcamera_dep,
|
|
link_with : libipa,
|
|
install : true,
|
|
install_dir : ipa_install_dir,
|
|
cpp_args : '-DLICENSE="' + t[1] + '"')
|
|
endforeach
|