summaryrefslogtreecommitdiffstats
path: root/meson.build
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 /meson.build
parent5720d2d8a15d72257c1d073fae6e51e1222b650d (diff)
downloaduca-79694263bb62ae5ae4833b10dd2ec0b9f4c77b26.tar.gz
uca-79694263bb62ae5ae4833b10dd2ec0b9f4c77b26.tar.bz2
uca-79694263bb62ae5ae4833b10dd2ec0b9f4c77b26.tar.xz
uca-79694263bb62ae5ae4833b10dd2ec0b9f4c77b26.zip
Support meson build system
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')