mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	build: use summary instead of message
This commit is contained in:
		
							parent
							
								
									ab4f642153
								
							
						
					
					
						commit
						f81aa6a172
					
				
					 1 changed files with 9 additions and 16 deletions
				
			
		
							
								
								
									
										25
									
								
								meson.build
									
										
									
									
									
								
							
							
						
						
									
										25
									
								
								meson.build
									
										
									
									
									
								
							| 
						 | 
					@ -169,22 +169,15 @@ wlroots = declare_dependency(
 | 
				
			||||||
 | 
					
 | 
				
			||||||
meson.override_dependency('wlroots', wlroots)
 | 
					meson.override_dependency('wlroots', wlroots)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
summary = [
 | 
					summary({
 | 
				
			||||||
	'',
 | 
						'libcap': conf_data.get('WLR_HAS_LIBCAP', 0),
 | 
				
			||||||
	'----------------',
 | 
						'systemd': conf_data.get('WLR_HAS_SYSTEMD', 0),
 | 
				
			||||||
	'wlroots @0@'.format(meson.project_version()),
 | 
						'elogind': conf_data.get('WLR_HAS_ELOGIND', 0),
 | 
				
			||||||
	'',
 | 
						'xwayland': conf_data.get('WLR_HAS_XWAYLAND', 0),
 | 
				
			||||||
	'      libcap: @0@'.format(conf_data.get('WLR_HAS_LIBCAP', false)),
 | 
						'x11_backend': conf_data.get('WLR_HAS_X11_BACKEND', 0),
 | 
				
			||||||
	'     systemd: @0@'.format(conf_data.get('WLR_HAS_SYSTEMD', false)),
 | 
						'xcb-icccm': conf_data.get('WLR_HAS_XCB_ICCCM', 0),
 | 
				
			||||||
	'     elogind: @0@'.format(conf_data.get('WLR_HAS_ELOGIND', false)),
 | 
						'xcb-errors': conf_data.get('WLR_HAS_XCB_ERRORS', 0),
 | 
				
			||||||
	'    xwayland: @0@'.format(conf_data.get('WLR_HAS_XWAYLAND', false)),
 | 
					})
 | 
				
			||||||
	' x11_backend: @0@'.format(conf_data.get('WLR_HAS_X11_BACKEND', false)),
 | 
					 | 
				
			||||||
	'   xcb-icccm: @0@'.format(conf_data.get('WLR_HAS_XCB_ICCCM', false)),
 | 
					 | 
				
			||||||
	'  xcb-errors: @0@'.format(conf_data.get('WLR_HAS_XCB_ERRORS', false)),
 | 
					 | 
				
			||||||
	'----------------',
 | 
					 | 
				
			||||||
	''
 | 
					 | 
				
			||||||
]
 | 
					 | 
				
			||||||
message('\n'.join(summary))
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
if get_option('examples')
 | 
					if get_option('examples')
 | 
				
			||||||
	subdir('examples')
 | 
						subdir('examples')
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue