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

apps_sources = files([
    'image.cpp',
    'options.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])