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 <kieran.bingham@ideasonboard.com>
This commit is contained in:
Kieran Bingham 2018-10-24 10:34:27 +01:00
parent 87ba17ba41
commit 708d3c9fc0
8 changed files with 554 additions and 0 deletions

9
test/init.cpp Normal file
View file

@ -0,0 +1,9 @@
#include <libcamera.h>
int main(void)
{
libcamera l = libcamera();
l.init_lib();
return 0;
}