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

# Location of pipeline specific configuration files
pipeline_data_dir = libcamera_datadir / 'pipeline'

# Allow multi-level directory structuring for the pipeline handlers if needed.
subdirs = []

foreach pipeline : pipelines
    pipeline = pipeline.split('/')[0]
    if pipeline in subdirs
        continue
    endif

    subdirs += pipeline
    subdir(pipeline)

    # Don't reuse the pipeline variable below, the subdirectory may have
    # overwritten it.
endforeach