example: add an executable 'tinyds-tdm-libinput' and handle ds_seat
[platform/core/uifw/libds-tizen.git] / src / examples / meson.build
index f95bd50..5c5c437 100644 (file)
@@ -23,6 +23,15 @@ executable('tinyds',
   install : true
 )
 
+executable('input-device-test',
+  [
+    'input-device-test.c',
+    'pixman-helper.c',
+  ],
+  dependencies: common_deps,
+  install_dir: libds_bindir,
+  install : true)
+
 if get_option('tizen')
   common_deps += dep_libds_tizen
 
@@ -35,17 +44,40 @@ if get_option('tizen')
 
   tinyds_tdm_files = [
     'tinyds-tdm.c',
-    'tbm-server-helper.c',
     'pixman-helper.c',
+    'pixman-tbm-helper.c',
+    'tinyds-tdm-renderer.c',
   ]
   executable('tinyds-tdm',
     tinyds_tdm_files,
     dependencies: [
       common_deps,
       dependency('pixman-1', required: true),
-      dependency('libdrm', required: true),
-      dependency('libtbm', required: true),
-      dependency('wayland-tbm-server', required: true),
+      dependency('threads', required: true),
+    ],
+    install_dir: libds_bindir,
+    install : true
+  )
+
+  executable('libinput-backend',
+    'libinput-backend.c',
+    dependencies: common_deps,
+    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