libcamera/test/init.cpp
Kieran Bingham 708d3c9fc0 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>
2018-10-24 12:22:19 +01:00

9 lines
98 B
C++

#include <libcamera.h>
int main(void)
{
libcamera l = libcamera();
l.init_lib();
return 0;
}