Add build options of backends
[platform/core/uifw/libds-tizen.git] / src / libds / backend / meson.build
1 all_backends = ['tdm']
2 backends = get_option('backends')
3 if 'auto' in backends and get_option('auto_features').enabled()
4   backends = all_backends
5 elif 'auto' in backends and get_option('auto_features').disabled()
6   backends = []
7 endif
8
9 foreach backend : all_backends
10   if backend in backends or 'auto' in backends
11     subdir(backend)
12   endif
13 endforeach
14
15 subdir('wayland')