From 86eaa6c5e10dde632f17b900ea0e3aa4d61cb3b3 Mon Sep 17 00:00:00 2001 From: Kieran Bingham Date: Tue, 15 Jun 2021 15:23:09 +0100 Subject: libcamera/base: Introduce new base library The libcamera-base.so will feature internal support functionality that is utilised by libcamera, and can be shared in other places. This new library provides a layer beneath libcamera which provides common abstractions to internal objects. A pkg-config file is generated and named libcamera-base.pc which allows components such as external IPA modules to link directly to this library if they need. Normal applications will reference this library through the Requires: statement provided by the libcamera.pc package configuration, and linkage will be handled automatically through the pkg-config mechanisms. No code is moved to this library yet, this patch only introduces the framework, construction and linkage. Reviewed-by: Paul Elder Reviewed-by: Hirokazu Honda Reviewed-by: Laurent Pinchart Signed-off-by: Kieran Bingham --- include/libcamera/base/meson.build | 9 +++++++++ include/libcamera/meson.build | 1 + 2 files changed, 10 insertions(+) create mode 100644 include/libcamera/base/meson.build (limited to 'include') diff --git a/include/libcamera/base/meson.build b/include/libcamera/base/meson.build new file mode 100644 index 00000000..0a7a57b8 --- /dev/null +++ b/include/libcamera/base/meson.build @@ -0,0 +1,9 @@ +# SPDX-License-Identifier: CC0-1.0 + +libcamera_base_include_dir = libcamera_include_dir / 'base' + +libcamera_base_headers = files([ +]) + +install_headers(libcamera_base_headers, + subdir: libcamera_base_include_dir) diff --git a/include/libcamera/meson.build b/include/libcamera/meson.build index 086c958b..4ac864b7 100644 --- a/include/libcamera/meson.build +++ b/include/libcamera/meson.build @@ -23,6 +23,7 @@ libcamera_public_headers = files([ include_dir = libcamera_include_dir / 'libcamera' +subdir('base') subdir('internal') subdir('ipa') -- cgit v1.2.1