aboutsummaryrefslogtreecommitdiff
path: root/backend/meson.build
blob: b5b6f7a6cc53c9bddff3f6941ab8ca95ef77aa07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
udev = dependency('libudev')
wlr_deps += udev

wlr_files += files('backend.c')

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

subdir('multi')
subdir('wayland')
subdir('headless')

subdir('session')