2017-12-27 13:37:55 +00:00
|
|
|
subdir('wlr')
|
2019-11-22 07:11:15 +00:00
|
|
|
|
|
|
|
exclude_files = ['meson.build', 'config.h.in', 'version.h.in']
|
|
|
|
if conf_data.get('WLR_HAS_X11_BACKEND', 0) != 1
|
|
|
|
exclude_files += 'backend/x11.h'
|
|
|
|
endif
|
|
|
|
if conf_data.get('WLR_HAS_XWAYLAND', 0) != 1
|
|
|
|
exclude_files += 'xwayland.h'
|
|
|
|
endif
|
2021-01-05 19:18:38 +00:00
|
|
|
if conf_data.get('WLR_HAS_XDG_FOREIGN', 0) != 1
|
|
|
|
exclude_files += [
|
2021-01-05 19:19:31 +00:00
|
|
|
'types/wlr_xdg_foreign_v1.h',
|
2021-01-05 19:19:58 +00:00
|
|
|
'types/wlr_xdg_foreign_v2.h',
|
2021-01-05 19:18:38 +00:00
|
|
|
'types/wlr_xdg_foreign_registry.h',
|
|
|
|
]
|
|
|
|
endif
|
2019-11-22 07:11:15 +00:00
|
|
|
|
|
|
|
install_subdir('wlr',
|
|
|
|
install_dir: get_option('includedir'),
|
|
|
|
exclude_files: exclude_files,
|
|
|
|
)
|