summaryrefslogtreecommitdiff
path: root/desktop-shell/meson.build
blob: d244dd4438792d84f5acd62e58e31a2d46cd703e (plain)
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
30
31
if get_option('shell_desktop')
	config_h.set('WESTON_SHELL_CLIENT', '"weston-desktop-shell"')

	files_shell_desktop = [
		'shell.c',
		'exposay.c',
		'input-panel.c',
		'../shared/matrix.c',
		'../shared/config-parser.c',
		gen_desktop_shell_server,
		gen_desktop_shell_impl,
		gen_input_method_server,
		gen_input_method_impl,
	]

	deps_shell_desktop = [
		dep_lib_desktop,
		dep_libweston,
	]

	plugin_shell_desktop = shared_library('desktop-shell',
		files_shell_desktop,
		include_directories:
			include_directories('..', '../libweston', '../shared'),
		dependencies: deps_shell_desktop,
		name_prefix: '',
		install: true,
		install_dir: dir_weston_module,
	)
	env_modmap += 'desktop-shell.so=@0@;'.format(plugin_shell_desktop.full_path())
endif