meson: Summarize which applications and adaptation layers are built
Add the application and adaptation layers being built to the meson
summary. The summary now prints
libcamera 0.0.0
Configuration
Enabled pipelines: ipu3
raspberrypi
rkisp1
simple
uvcvideo
vimc
Android support: True
GStreamer support: True
V4L2 emulation support: True
cam application: True
qcam application: True
Unit tests: True
Subprojects
libyuv: YES
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Hirokazu Honda <hiroh@chromium.org>
This commit is contained in:
@@ -168,4 +168,10 @@ py_mod.find_installation('python3', modules: py_modules)
|
||||
## Summarise Configurations
|
||||
summary({
|
||||
'Enabled pipelines': pipelines,
|
||||
'Android support': android_enabled,
|
||||
'GStreamer support': gst_enabled,
|
||||
'V4L2 emulation support': v4l2_enabled,
|
||||
'cam application': cam_enabled,
|
||||
'qcam application': qcam_enabled,
|
||||
'Unit tests': test_enabled,
|
||||
}, section : 'Configuration')
|
||||
|
||||
@@ -3,9 +3,12 @@
|
||||
libevent = dependency('libevent_pthreads', required : get_option('cam'))
|
||||
|
||||
if not libevent.found()
|
||||
cam_enabled = false
|
||||
subdir_done()
|
||||
endif
|
||||
|
||||
cam_enabled = true
|
||||
|
||||
cam_sources = files([
|
||||
'buffer_writer.cpp',
|
||||
'capture.cpp',
|
||||
|
||||
@@ -9,9 +9,12 @@ gstallocator_dep = dependency('gstreamer-allocators-1.0', version : gst_dep_vers
|
||||
required : get_option('gstreamer'))
|
||||
|
||||
if not glib_dep.found() or not gstvideo_dep.found() or not gstallocator_dep.found()
|
||||
gst_enabled = false
|
||||
subdir_done()
|
||||
endif
|
||||
|
||||
gst_enabled = true
|
||||
|
||||
libcamera_gst_sources = [
|
||||
'gstlibcamera-utils.cpp',
|
||||
'gstlibcamera.cpp',
|
||||
|
||||
@@ -8,9 +8,12 @@ qt5_dep = dependency('qt5',
|
||||
version : '>=5.4')
|
||||
|
||||
if not qt5_dep.found()
|
||||
qcam_enabled = false
|
||||
subdir_done()
|
||||
endif
|
||||
|
||||
qcam_enabled = true
|
||||
|
||||
qcam_sources = files([
|
||||
'../cam/options.cpp',
|
||||
'../cam/stream_options.cpp',
|
||||
|
||||
@@ -1,9 +1,12 @@
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
if not get_option('v4l2')
|
||||
v4l2_enabled = false
|
||||
subdir_done()
|
||||
endif
|
||||
|
||||
v4l2_enabled = true
|
||||
|
||||
v4l2_compat_sources = files([
|
||||
'v4l2_camera.cpp',
|
||||
'v4l2_camera_file.cpp',
|
||||
|
||||
@@ -1,9 +1,12 @@
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
if not get_option('test')
|
||||
test_enabled = false
|
||||
subdir_done()
|
||||
endif
|
||||
|
||||
test_enabled = true
|
||||
|
||||
subdir('libtest')
|
||||
|
||||
subdir('camera')
|
||||
|
||||
Reference in New Issue
Block a user