mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			63 lines
		
	
	
	
		
			1.5 KiB
		
	
	
	
		
			Meson
		
	
	
	
	
	
			
		
		
	
	
			63 lines
		
	
	
	
		
			1.5 KiB
		
	
	
	
		
			Meson
		
	
	
	
	
	
lib_shared = static_library(
 | 
						|
	'shared',
 | 
						|
	['support/shared.c', 'support/cat.c', 'support/ini.c', 'support/config.c'],
 | 
						|
	dependencies: wlroots,
 | 
						|
	include_directories: include_directories('support')
 | 
						|
)
 | 
						|
 | 
						|
threads = dependency('threads')
 | 
						|
wayland_cursor = dependency('wayland-cursor')
 | 
						|
 | 
						|
executable('simple', 'simple.c', dependencies: wlroots, link_with: lib_shared)
 | 
						|
executable('pointer', 'pointer.c', dependencies: wlroots, link_with: lib_shared)
 | 
						|
executable('touch', 'touch.c', dependencies: wlroots, link_with: lib_shared)
 | 
						|
executable('tablet', 'tablet.c', dependencies: wlroots, link_with: lib_shared)
 | 
						|
executable('multi-pointer', 'multi-pointer.c', dependencies: wlroots,
 | 
						|
	link_with: lib_shared)
 | 
						|
 | 
						|
executable(
 | 
						|
	'rotation',
 | 
						|
	'rotation.c',
 | 
						|
	dependencies: wlroots,
 | 
						|
	link_with: lib_shared,
 | 
						|
)
 | 
						|
 | 
						|
executable(
 | 
						|
	'output-layout',
 | 
						|
	'output-layout.c',
 | 
						|
	dependencies: wlroots,
 | 
						|
	link_with: lib_shared,
 | 
						|
)
 | 
						|
 | 
						|
executable(
 | 
						|
	'screenshot',
 | 
						|
	'screenshot.c',
 | 
						|
	dependencies: [wayland_client, wlr_protos, wlroots],
 | 
						|
	link_with: lib_shared,
 | 
						|
)
 | 
						|
 | 
						|
executable(
 | 
						|
	'idle',
 | 
						|
	'idle.c',
 | 
						|
	dependencies: [wayland_client, wlr_protos, wlroots, threads],
 | 
						|
	link_with: lib_shared,
 | 
						|
)
 | 
						|
 | 
						|
executable(
 | 
						|
	'idle-inhibit',
 | 
						|
	'idle-inhibit.c',
 | 
						|
	dependencies: [wayland_client, wlr_protos, wlroots, threads],
 | 
						|
	link_with: lib_shared,
 | 
						|
)
 | 
						|
 | 
						|
executable(
 | 
						|
	'layer-shell',
 | 
						|
	'layer-shell.c',
 | 
						|
	dependencies: [wayland_cursor, wayland_client, wlr_protos, wlroots]
 | 
						|
)
 | 
						|
 | 
						|
executable(
 | 
						|
	'input-inhibitor',
 | 
						|
	'input-inhibitor.c',
 | 
						|
	dependencies: [wayland_cursor, wayland_client, wlr_protos, wlroots]
 | 
						|
)
 |