about summary refs log tree commit diff
path: root/examples/C/glib/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'examples/C/glib/meson.build')
-rw-r--r--examples/C/glib/meson.build19
1 files changed, 19 insertions, 0 deletions
diff --git a/examples/C/glib/meson.build b/examples/C/glib/meson.build
new file mode 100644
index 00000000..edc4dbb1
--- /dev/null
+++ b/examples/C/glib/meson.build
@@ -0,0 +1,19 @@
+examples = [
+  ['add-connection-gdbus', [libnm_enum[1]], [libnm_inc], [uuid_dep]],
+  ['add-connection-libnm', [], [], [libnm_dep]],
+  ['get-active-connections-gdbus', [libnm_enum[1]], [libnm_inc], []],
+  ['get-ap-info-libnm', [], [], [libnm_dep]],
+  ['list-connections-gdbus', [], [], []],
+  ['list-connections-libnm', [], [], [libnm_dep]],
+  ['monitor-nm-running-gdbus', [], [], []],
+  ['monitor-nm-state-gdbus', [], [], []]
+]
+
+foreach example: examples
+  executable(
+    example[0],
+    [example[0] + '.c'] + example[1],
+    include_directories: example[2],
+    dependencies: [nm_core_dep] + example[3],
+  )
+endforeach