wlroots/include/meson.build

22 lines
484 B
Meson
Raw Normal View History

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'
endif
if not features.get('xdg-foreign')
2021-01-05 19:18:38 +00:00
exclude_files += [
2021-02-04 19:44:14 +00:00
'types/wlr_xdg_foreign_v1.h',
'types/wlr_xdg_foreign_v2.h',
'types/wlr_xdg_foreign_registry.h',
2021-01-05 19:18:38 +00:00
]
endif
install_subdir('wlr',
install_dir: get_option('includedir'),
exclude_files: exclude_files,
)