Revert "Revert "Merge pull request #1194 from ascent12/meson_feature""

This reverts commit 9c886f20b9.
This commit is contained in:
Scott Anderson 2018-08-24 19:35:02 +12:00
parent 9c886f20b9
commit fd3fa760d3
19 changed files with 385 additions and 227 deletions

View file

@ -11,12 +11,17 @@ sources = [
'seat.c',
'virtual_keyboard.c',
'wl_shell.c',
'xdg_shell_v6.c',
'xdg_shell.c',
'xdg_shell_v6.c',
]
if get_option('enable-xwayland')
sources += ['xwayland.c']
if conf_data.get('WLR_HAS_XWAYLAND', false)
sources += 'xwayland.c'
endif
executable(
'rootston', sources, dependencies: [wlroots, wlr_protos, pixman]
'rootston',
sources,
dependencies: [wlroots, wlr_protos, pixman],
build_by_default: get_option('rootston'),
)