summaryrefslogtreecommitdiff
path: root/src/apps/common/meson.build
blob: 5b683390221143a04b109324a6938f838ea2f0a9 (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
# SPDX-License-Identifier: CC0-1.0

apps_sources = files([
    'image.cpp',
    'options.cpp',
    'ppm_writer.cpp',
    'stream_options.cpp',
])

apps_cpp_args = []

if libevent.found()
    apps_sources += files([
        'event_loop.cpp',
    ])
endif

if libtiff.found()
    apps_cpp_args += ['-DHAVE_TIFF']
    apps_sources += files([
        'dng_writer.cpp',
    ])
endif

apps_lib = static_library('apps', apps_sources,
                          cpp_args : apps_cpp_args,
                          dependencies : [libcamera_public])