From 708d3c9fc07e8b27770e365696d8867599b3ae93 Mon Sep 17 00:00:00 2001 From: Kieran Bingham Date: Wed, 24 Oct 2018 10:34:27 +0100 Subject: build: Provide initial meson infrastructure Define the starting points for the libcamera build using meson and ninja build components. An initial 'dummy' library class is created, and a test binary links against the shared library calling it's init_lib() function. Signed-off-by: Kieran Bingham --- test/init.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/init.cpp (limited to 'test/init.cpp') diff --git a/test/init.cpp b/test/init.cpp new file mode 100644 index 00000000..182728d3 --- /dev/null +++ b/test/init.cpp @@ -0,0 +1,9 @@ +#include + +int main(void) +{ + libcamera l = libcamera(); + l.init_lib(); + + return 0; +} -- cgit v1.2.1