Add scaler skeleton
[platform/core/uifw/libds-tizen.git] / meson.build
index 410b271..d6804fe 100644 (file)
@@ -1,9 +1,10 @@
-project('libds_tizen', 'c',
+project('libds_tizen',
+  ['c', 'cpp'],
   license: 'MIT',
   version: '0.1.2',
   default_options: [
     'warning_level=1',
-    'c_std=gnu99',
+    'c_std=gnu99', 'cpp_std=c++20',
     'buildtype=debug'
   ]
 )
@@ -25,7 +26,22 @@ cdata.set('LIBDS_VERSION_MAJOR', libds_tizen_version_major)
 cdata.set('LIBDS_VERSION_MINOR', libds_tizen_version_minor)
 cdata.set('LIBDS_VERSION_PATCH', libds_tizen_version_patch)
 
+wayland_protos = dependency('wayland-protocols',
+  fallback: ['wayland-protocols', 'wayland_protocols'],
+  default_options: ['tests=false'],
+)
+wl_protocol_dir = wayland_protos.get_variable('pkgdatadir')
+
+wayland_scanner_dep = dependency('wayland-scanner', native: true)
+wayland_scanner = find_program(
+  wayland_scanner_dep.get_variable('wayland_scanner'),
+  native: true,
+)
+
 subdir('src')
+subdir('tests')
+subdir('examples')
+subdir('clients')
 subdir('include')
 
 configure_file(output: 'config.h', install: false, configuration: cdata)