summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2017-06-08 09:50:54 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2017-06-08 09:50:54 +0200
commit79694263bb62ae5ae4833b10dd2ec0b9f4c77b26 (patch)
tree5e7ffc25fa4d692ec753190db29b2df4c2450ab8 /plugins
parent5720d2d8a15d72257c1d073fae6e51e1222b650d (diff)
downloaduca-79694263bb62ae5ae4833b10dd2ec0b9f4c77b26.tar.gz
uca-79694263bb62ae5ae4833b10dd2ec0b9f4c77b26.tar.bz2
uca-79694263bb62ae5ae4833b10dd2ec0b9f4c77b26.tar.xz
uca-79694263bb62ae5ae4833b10dd2ec0b9f4c77b26.zip
Support meson build system
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,
+)