From 2619164b6998b2143e776a1c2f10140af9fe878b Mon Sep 17 00:00:00 2001 From: Kieran Bingham Date: Tue, 1 Nov 2022 21:19:20 +0000 Subject: meson: Convert CMake to Meson build infrastructure Provide infrastructure to be able to build the uvc-gadget library as a shared object and an executable which links against this as a dependency to implment the reference 'uvc-gadget' application. All existing cmake infrastructure is removed. This removes custom glob support that was previously used by an early development for Android, which is expected to be re-added later when required. Reviewed-by: Daniel Scally Signed-off-by: Kieran Bingham --- include/uvcgadget/meson.build | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 include/uvcgadget/meson.build (limited to 'include/uvcgadget/meson.build') diff --git a/include/uvcgadget/meson.build b/include/uvcgadget/meson.build new file mode 100644 index 0000000..c79ea18 --- /dev/null +++ b/include/uvcgadget/meson.build @@ -0,0 +1,16 @@ +# SPDX-License-Identifier: CC0-1.0 + +uvcgadget_public_headers = files([ + 'configfs.h', + 'events.h', + 'list.h', + 'stream.h', + 'v4l2-source.h', + 'video-source.h', + ]) + + +install_headers(uvcgadget_public_headers, + subdir : 'uvcgadget') + +includes = include_directories('.') -- cgit v1.2.3