summaryrefslogtreecommitdiff
path: root/include/libcamera/meson.build
blob: 3067120a1598021f6bc84833f9502d499b6f61da (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
25
26
27
28
29
libcamera_api = files([
    'buffer.h',
    'camera.h',
    'camera_manager.h',
    'control_ids.h',
    'controls.h',
    'event_dispatcher.h',
    'event_notifier.h',
    'geometry.h',
    'ipa/ipa_interface.h',
    'ipa/ipa_module_info.h',
    'object.h',
    'request.h',
    'signal.h',
    'stream.h',
    'timer.h',
])

gen_header = files('gen-header.sh')

libcamera_h = custom_target('gen-header',
                            input : 'meson.build',
                            output : 'libcamera.h',
                            command : [gen_header, meson.current_source_dir(), '@OUTPUT@'],
                            install : true,
                            install_dir : 'include/libcamera')

install_headers(libcamera_api,
                subdir : 'libcamera')