mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			529 B
		
	
	
	
		
			Meson
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			529 B
		
	
	
	
		
			Meson
		
	
	
	
	
	
subdir('wlr')
 | 
						|
 | 
						|
exclude_files = ['meson.build', 'config.h.in', 'version.h.in']
 | 
						|
if conf_data.get('WLR_HAS_X11_BACKEND', 0) != 1
 | 
						|
	exclude_files += 'backend/x11.h'
 | 
						|
endif
 | 
						|
if conf_data.get('WLR_HAS_XWAYLAND', 0) != 1
 | 
						|
	exclude_files += 'xwayland.h'
 | 
						|
endif
 | 
						|
if conf_data.get('WLR_HAS_XDG_FOREIGN', 0) != 1
 | 
						|
	exclude_files += [
 | 
						|
    'types/wlr_xdg_foreign_v1.h',
 | 
						|
    'types/wlr_xdg_foreign_v2.h',
 | 
						|
    'types/wlr_xdg_foreign_registry.h',
 | 
						|
	]
 | 
						|
endif
 | 
						|
 | 
						|
install_subdir('wlr',
 | 
						|
	install_dir: get_option('includedir'),
 | 
						|
	exclude_files: exclude_files,
 | 
						|
)
 |