mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			473 B
		
	
	
	
		
			Meson
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			473 B
		
	
	
	
		
			Meson
		
	
	
	
	
	
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')
 |