wlroots-hyprland/rootston/meson.build
emersion 51bfdd620e
Use #if instead of #ifdef for wlroots config data
This prevents some annoying issues when e.g. not including wlr/config.h or
making a typo in the guard name.
2018-11-12 10:12:46 +01:00

28 lines
438 B
Meson

sources = [
'config.c',
'cursor.c',
'desktop.c',
'ini.c',
'input.c',
'keyboard.c',
'layer_shell.c',
'main.c',
'output.c',
'seat.c',
'text_input.c',
'virtual_keyboard.c',
'wl_shell.c',
'xdg_shell.c',
'xdg_shell_v6.c',
]
if conf_data.get('WLR_HAS_XWAYLAND', 0) == 1
sources += 'xwayland.c'
endif
executable(
'rootston',
sources,
dependencies: [wlroots, wlr_protos, pixman],
build_by_default: get_option('rootston'),
)