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:
parent
1456efe7d5
commit
b68721608a
6 changed files with 21 additions and 0 deletions
|
@ -168,4 +168,10 @@ py_mod.find_installation('python3', modules: py_modules)
|
||||||
## Summarise Configurations
|
## Summarise Configurations
|
||||||
summary({
|
summary({
|
||||||
'Enabled pipelines': pipelines,
|
'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')
|
}, section : 'Configuration')
|
||||||
|
|
|
@ -3,9 +3,12 @@
|
||||||
libevent = dependency('libevent_pthreads', required : get_option('cam'))
|
libevent = dependency('libevent_pthreads', required : get_option('cam'))
|
||||||
|
|
||||||
if not libevent.found()
|
if not libevent.found()
|
||||||
|
cam_enabled = false
|
||||||
subdir_done()
|
subdir_done()
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
cam_enabled = true
|
||||||
|
|
||||||
cam_sources = files([
|
cam_sources = files([
|
||||||
'buffer_writer.cpp',
|
'buffer_writer.cpp',
|
||||||
'capture.cpp',
|
'capture.cpp',
|
||||||
|
|
|
@ -9,9 +9,12 @@ gstallocator_dep = dependency('gstreamer-allocators-1.0', version : gst_dep_vers
|
||||||
required : get_option('gstreamer'))
|
required : get_option('gstreamer'))
|
||||||
|
|
||||||
if not glib_dep.found() or not gstvideo_dep.found() or not gstallocator_dep.found()
|
if not glib_dep.found() or not gstvideo_dep.found() or not gstallocator_dep.found()
|
||||||
|
gst_enabled = false
|
||||||
subdir_done()
|
subdir_done()
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
gst_enabled = true
|
||||||
|
|
||||||
libcamera_gst_sources = [
|
libcamera_gst_sources = [
|
||||||
'gstlibcamera-utils.cpp',
|
'gstlibcamera-utils.cpp',
|
||||||
'gstlibcamera.cpp',
|
'gstlibcamera.cpp',
|
||||||
|
|
|
@ -8,9 +8,12 @@ qt5_dep = dependency('qt5',
|
||||||
version : '>=5.4')
|
version : '>=5.4')
|
||||||
|
|
||||||
if not qt5_dep.found()
|
if not qt5_dep.found()
|
||||||
|
qcam_enabled = false
|
||||||
subdir_done()
|
subdir_done()
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
qcam_enabled = true
|
||||||
|
|
||||||
qcam_sources = files([
|
qcam_sources = files([
|
||||||
'../cam/options.cpp',
|
'../cam/options.cpp',
|
||||||
'../cam/stream_options.cpp',
|
'../cam/stream_options.cpp',
|
||||||
|
|
|
@ -1,9 +1,12 @@
|
||||||
# SPDX-License-Identifier: CC0-1.0
|
# SPDX-License-Identifier: CC0-1.0
|
||||||
|
|
||||||
if not get_option('v4l2')
|
if not get_option('v4l2')
|
||||||
|
v4l2_enabled = false
|
||||||
subdir_done()
|
subdir_done()
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
v4l2_enabled = true
|
||||||
|
|
||||||
v4l2_compat_sources = files([
|
v4l2_compat_sources = files([
|
||||||
'v4l2_camera.cpp',
|
'v4l2_camera.cpp',
|
||||||
'v4l2_camera_file.cpp',
|
'v4l2_camera_file.cpp',
|
||||||
|
|
|
@ -1,9 +1,12 @@
|
||||||
# SPDX-License-Identifier: CC0-1.0
|
# SPDX-License-Identifier: CC0-1.0
|
||||||
|
|
||||||
if not get_option('test')
|
if not get_option('test')
|
||||||
|
test_enabled = false
|
||||||
subdir_done()
|
subdir_done()
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
test_enabled = true
|
||||||
|
|
||||||
subdir('libtest')
|
subdir('libtest')
|
||||||
|
|
||||||
subdir('camera')
|
subdir('camera')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue