diff options
Diffstat (limited to 'src/libcamera')
-rw-r--r-- | src/libcamera/include/.keep_empty | 0 | ||||
-rw-r--r-- | src/libcamera/main.cpp | 17 | ||||
-rw-r--r-- | src/libcamera/meson.build | 11 |
3 files changed, 28 insertions, 0 deletions
diff --git a/src/libcamera/include/.keep_empty b/src/libcamera/include/.keep_empty new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/src/libcamera/include/.keep_empty diff --git a/src/libcamera/main.cpp b/src/libcamera/main.cpp new file mode 100644 index 00000000..0059e0c9 --- /dev/null +++ b/src/libcamera/main.cpp @@ -0,0 +1,17 @@ +/* SPDX-License-Identifier: LGPL-2.1-or-later */ +/* + * Copyright (C) 2018, Google Inc. + * + * main.cpp - libcamera main class + */ + +#include <iostream> +#include <libcamera/libcamera.h> + +using std::cout; +using std::endl; + +void libcamera::init_lib(void) +{ + cout << "Lib Camera Init" << endl; +} diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build new file mode 100644 index 00000000..07d9cd44 --- /dev/null +++ b/src/libcamera/meson.build @@ -0,0 +1,11 @@ +sources = ['main.cpp'] + +includes = [ + libcamera_includes, + include_directories('include'), +] + +libcamera = shared_library('camera', + sources, + install : true, + include_directories : includes) |