example: add an executable 'tinyds-tdm-libinput' and handle ds_seat
[platform/core/uifw/libds-tizen.git] / src / examples / meson.build
index 9f2d976..5c5c437 100644 (file)
@@ -65,4 +65,21 @@ if get_option('tizen')
     install_dir: libds_bindir,
     install : true
   )
+
+  tinyds_tdm_libinput_files = [
+    'tinyds-tdm-libinput.c',
+    'pixman-helper.c',
+    'pixman-tbm-helper.c',
+    'tinyds-tdm-renderer.c',
+  ]
+  executable('tinyds-tdm-libinput',
+    tinyds_tdm_libinput_files,
+    dependencies: [
+      common_deps,
+      dependency('pixman-1', required: true),
+      dependency('threads', required: true),
+    ],
+    install_dir: libds_bindir,
+    install : true
+  )
 endif