aboutsummaryrefslogtreecommitdiff
path: root/include/meson.build
blob: c72eada54de5bab1747751018c7778cbd2f8f56d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
subdir('wlr')

exclude_files = ['meson.build', 'config.h.in', 'version.h.in']
if not features.get('x11-backend')
	exclude_files += 'backend/x11.h'
endif
if not features.get('xwayland')
	exclude_files += 'xwayland.h'
else
	subdir('xwayland')
endif
if not features.get('xdg-foreign')
	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,
)