summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-03-20 23:39:21 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-03-28 01:47:26 +0200
commitb68721608ac4370564a41f1cc3aaa61a13d363cf (patch)
tree662eaa24f6d772eb3a6d8c3afe30fb053a15325e /src
parent1456efe7d51a3a0c6b57db4310f75b2a08ab1756 (diff)
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>
Diffstat (limited to 'src')
-rw-r--r--src/cam/meson.build3
-rw-r--r--src/gstreamer/meson.build3
-rw-r--r--src/qcam/meson.build3
-rw-r--r--src/v4l2/meson.build3
4 files changed, 12 insertions, 0 deletions
diff --git a/src/cam/meson.build b/src/cam/meson.build
index 65784bed..5e1a7f38 100644
--- a/src/cam/meson.build
+++ b/src/cam/meson.build
@@ -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',
diff --git a/src/gstreamer/meson.build b/src/gstreamer/meson.build
index ea246dcd..8cc811f8 100644
--- a/src/gstreamer/meson.build
+++ b/src/gstreamer/meson.build
@@ -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',
diff --git a/src/qcam/meson.build b/src/qcam/meson.build
index df4ca988..acde7682 100644
--- a/src/qcam/meson.build
+++ b/src/qcam/meson.build
@@ -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',
diff --git a/src/v4l2/meson.build b/src/v4l2/meson.build
index c8b79424..0accac19 100644
--- a/src/v4l2/meson.build
+++ b/src/v4l2/meson.build
@@ -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',