File: meson.build

package info (click to toggle)
wlroots 0.19.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,592 kB
  • sloc: ansic: 75,754; xml: 2,739; sh: 33; makefile: 23
file content (29 lines) | stat: -rw-r--r-- 745 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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

session_required = 'drm' in backends or 'libinput' in backends or get_option('session').enabled()
if get_option('session').disabled()
	if session_required
		error('Session support is required for the DRM or libinput backends')
	endif
	session_required = disabler()
endif

subdir('session')

foreach backend : all_backends
	if backend in backends or 'auto' in backends
		subdir(backend)
	endif
endforeach

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