summaryrefslogtreecommitdiff
path: root/src/libcamera/proxy/meson.build
blob: d7de518a0549ae041d473b434d93c5f0d0660b3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# SPDX-License-Identifier: CC0-1.0

# generate {pipeline}_ipa_proxy.cpp
foreach mojom : ipa_mojoms
    proxy = custom_target(mojom['name'] + '_proxy_cpp',
                          input : mojom['mojom'],
                          output : mojom['name'] + '_ipa_proxy.cpp',
                          depends : mojom_templates,
                          command : [
                              mojom_generator, 'generate',
                              '-g', 'libcamera',
                              '--bytecode_path', mojom_templates_dir,
                              '--libcamera_generate_proxy_cpp',
                              '--libcamera_output_path=@OUTPUT@',
                              './' + '@INPUT@'
                          ])

    libcamera_internal_sources += proxy
endforeach