summaryrefslogtreecommitdiff
path: root/dbind
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2017-05-22 15:54:24 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2017-05-24 14:18:55 +0100
commit8bedad030257b5d204c9f4ff7b1a130e2c512d00 (patch)
treef65c56c43c954b3af6d6d32064bbaa0da8c6befd /dbind
parent6d468128c7a8a43f9b0930910a1e8c9c75820c2b (diff)
downloadat-spi2-core-8bedad030257b5d204c9f4ff7b1a130e2c512d00.tar.gz
Add Meson build system
Meson is a meta-build system which provides us with various advantages over Autotools: - it's portable to various platforms - it's easy to understand - it's fast - it's well maintained Various libraries in the GNOME stack have been ported to it, including GTK+ itself.
Diffstat (limited to 'dbind')
-rw-r--r--dbind/meson.build16
1 files changed, 16 insertions, 0 deletions
diff --git a/dbind/meson.build b/dbind/meson.build
new file mode 100644
index 00000000..e1226456
--- /dev/null
+++ b/dbind/meson.build
@@ -0,0 +1,16 @@
+dbind_sources = [
+ 'dbind.c',
+ 'dbind-any.c',
+]
+
+dbind = static_library('dbind', dbind_sources,
+ include_directories: root_inc,
+ dependencies: [ libdbus_dep, glib_dep ],
+ c_args: [ '-DG_LOG_DOMAIN="dbind"' ])
+
+dbind_dep = declare_dependency(link_with: dbind)
+
+test('dbind-test',
+ executable('dbind-test', [ 'dbtest.c', '../atspi/atspi-gmain.c' ],
+ include_directories: root_inc,
+ dependencies: [ libdbus_dep, glib_dep, dbind_dep ]))