Add build options of backends
[platform/core/uifw/libds-tizen.git] / include / meson.build
index 731f7d3..f273424 100644 (file)
@@ -1,3 +1,13 @@
+exclude_files = []
+if not features.get('tdm-backend')
+  exclude_files += 'backend/tdm.h'
+endif
+
+if not features.get('tbm-allocator')
+  exclude_files += 'allocator/tbm.h'
+endif
+
 install_subdir('libds',
-  install_dir: get_option('includedir')
+  install_dir: get_option('includedir'),
+  exclude_files: exclude_files,
 )