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:
parent
87ba17ba41
commit
708d3c9fc0
8 changed files with 554 additions and 0 deletions
9
test/init.cpp
Normal file
9
test/init.cpp
Normal file
|
@ -0,0 +1,9 @@
|
|||
#include <libcamera.h>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
libcamera l = libcamera();
|
||||
l.init_lib();
|
||||
|
||||
return 0;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue