summaryrefslogtreecommitdiff
path: root/src/dnsmasq
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2017-11-25 11:39:06 +0100
committerThomas Haller <thaller@redhat.com>2017-12-13 15:48:50 +0100
commit03637ad8b5d21fcc12a536a25caf46445aabde73 (patch)
tree3330fed2a9ad0f45c0c993a8aac6d3dee42ed101 /src/dnsmasq
parente96fabfc186510808cee1bf6aaaa28f460f1cea5 (diff)
build: add initial support for meson build system
meson is a build system focused on speed an ease of use, which helps speeding up the software development. This patch adds meson support along autotools. [thaller@redhat.com: rebased patch and adjusted for iwd support] https://mail.gnome.org/archives/networkmanager-list/2017-December/msg00022.html
Diffstat (limited to 'src/dnsmasq')
-rw-r--r--src/dnsmasq/tests/meson.build12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/dnsmasq/tests/meson.build b/src/dnsmasq/tests/meson.build
new file mode 100644
index 0000000000..4c4173faa0
--- /dev/null
+++ b/src/dnsmasq/tests/meson.build
@@ -0,0 +1,12 @@
+test_unit = 'test-dnsmasq-utils'
+
+cflags = '-DTESTDIR="@0@"'.format(meson.source_root())
+
+exe = executable(
+ test_unit,
+ test_unit + '.c',
+ dependencies: test_core_dep,
+ c_args: cflags
+)
+
+test(test_unit, exe)