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

libcamera_ipa_interfaces = []

foreach file : ipa_mojom_files
    name = '@0@'.format(file).split('/')[-1].split('.')[0]

    # {pipeline}_ipa_interface.cpp
    libcamera_ipa_interfaces += \
        custom_target(name + '_ipa_interface_cpp',
                      input : file,
                      output : name + '_ipa_interface.cpp',
                      command : [
                          mojom_docs_extractor,
                          '-o', '@OUTPUT@', '@INPUT@'
                      ])
endforeach