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

libcamera_sources += files([
    'ipa_proxy_linux.cpp',
    'ipa_proxy_thread.cpp',
])

# 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_sources += proxy
endforeach