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

13
lib/main.cpp Normal file
View file

@ -0,0 +1,13 @@
#include <iostream>
namespace libcamera {
using std::cout;
using std::endl;
void init_lib(void)
{
cout << "Lib Camera Init" << endl;
}
};