summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/file/meson.build10
-rw-r--r--plugins/meson.build2
-rw-r--r--plugins/mock/meson.build10
3 files changed, 22 insertions, 0 deletions
diff --git a/plugins/file/meson.build b/plugins/file/meson.build
new file mode 100644
index 0000000..525a06c
--- /dev/null
+++ b/plugins/file/meson.build
@@ -0,0 +1,10 @@
+tiff_dep = dependency('libtiff-4')
+
+plugin = shared_library('ucafile',
+ sources: ['uca-file-camera.c'],
+ include_directories: include_dir,
+ dependencies: deps + [tiff_dep],
+ link_with: lib,
+ install: true,
+ install_dir: plugindir,
+)
diff --git a/plugins/meson.build b/plugins/meson.build
new file mode 100644
index 0000000..c13fce6
--- /dev/null
+++ b/plugins/meson.build
@@ -0,0 +1,2 @@
+subdir('file')
+subdir('mock')
diff --git a/plugins/mock/meson.build b/plugins/mock/meson.build
new file mode 100644
index 0000000..1f74002
--- /dev/null
+++ b/plugins/mock/meson.build
@@ -0,0 +1,10 @@
+libm = meson.get_compiler('c').find_library('m')
+
+plugin = shared_library('ucamock',
+ sources: ['uca-mock-camera.c'],
+ include_directories: include_dir,
+ dependencies: deps + [libm],
+ link_with: lib,
+ install: true,
+ install_dir: plugindir,
+)