summaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build25
1 files changed, 25 insertions, 0 deletions
diff --git a/meson.build b/meson.build
new file mode 100644
index 0000000..02a8806
--- /dev/null
+++ b/meson.build
@@ -0,0 +1,25 @@
+project('libuca', 'c',
+ version: '2.2.1'
+)
+
+version = meson.project_version()
+components = version.split('.')
+version_major = components[0]
+version_minor = components[1]
+version_patch = components[2]
+
+gnome = import('gnome')
+
+glib_dep = dependency('glib-2.0', version: '>= 2.28')
+gio_dep = dependency('gio-2.0', version: '>= 2.28')
+gobject_dep = dependency('gobject-2.0', version: '>= 2.28')
+gmodule_dep = dependency('gmodule-2.0', version: '>= 2.28')
+
+deps = [glib_dep, gio_dep, gobject_dep, gmodule_dep]
+
+subdir('src')
+
+include_dir = include_directories('src')
+
+subdir('bin')
+subdir('plugins')