From 79694263bb62ae5ae4833b10dd2ec0b9f4c77b26 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Thu, 8 Jun 2017 09:50:54 +0200 Subject: Support meson build system --- plugins/file/meson.build | 10 ++++++++++ plugins/meson.build | 2 ++ plugins/mock/meson.build | 10 ++++++++++ 3 files changed, 22 insertions(+) create mode 100644 plugins/file/meson.build create mode 100644 plugins/meson.build create mode 100644 plugins/mock/meson.build (limited to 'plugins') 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, +) -- cgit v1.2.3