2022-10-24 10:21:48 +00:00
|
|
|
udev = dependency('libudev')
|
|
|
|
wlr_deps += udev
|
|
|
|
|
2019-11-22 07:11:15 +00:00
|
|
|
wlr_files += files('backend.c')
|
|
|
|
|
2021-03-26 15:28:37 +00:00
|
|
|
all_backends = ['drm', 'libinput', 'x11']
|
|
|
|
backends = get_option('backends')
|
|
|
|
if 'auto' in backends and get_option('auto_features').enabled()
|
|
|
|
backends = all_backends
|
|
|
|
elif 'auto' in backends and get_option('auto_features').disabled()
|
|
|
|
backends = []
|
|
|
|
endif
|
|
|
|
|
|
|
|
foreach backend : all_backends
|
|
|
|
if backend in backends or 'auto' in backends
|
|
|
|
subdir(backend)
|
|
|
|
endif
|
|
|
|
endforeach
|
|
|
|
|
2019-11-22 07:11:15 +00:00
|
|
|
subdir('multi')
|
|
|
|
subdir('wayland')
|
2021-03-26 15:28:37 +00:00
|
|
|
subdir('headless')
|
2018-03-09 14:17:15 +00:00
|
|
|
|
2019-11-22 07:11:15 +00:00
|
|
|
subdir('session')
|