summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/main.cpp13
-rw-r--r--lib/meson.build5
2 files changed, 18 insertions, 0 deletions
diff --git a/lib/main.cpp b/lib/main.cpp
new file mode 100644
index 00000000..7b3da269
--- /dev/null
+++ b/lib/main.cpp
@@ -0,0 +1,13 @@
+#include <iostream>
+
+namespace libcamera {
+
+using std::cout;
+using std::endl;
+
+void init_lib(void)
+{
+ cout << "Lib Camera Init" << endl;
+}
+
+};
diff --git a/lib/meson.build b/lib/meson.build
new file mode 100644
index 00000000..37876cee
--- /dev/null
+++ b/lib/meson.build
@@ -0,0 +1,5 @@
+sources = ['main.cpp']
+
+libcamera = shared_library('camera',
+ sources,
+ include_directories : inc)