2017-10-06 21:50:25 +00:00
|
|
|
sources = [
|
|
|
|
'config.c',
|
2017-11-09 01:25:02 +00:00
|
|
|
'cursor.c',
|
2017-10-06 21:50:25 +00:00
|
|
|
'desktop.c',
|
|
|
|
'ini.c',
|
|
|
|
'input.c',
|
|
|
|
'keyboard.c',
|
2018-03-18 19:09:37 +00:00
|
|
|
'layer_shell.c',
|
2017-10-06 21:50:25 +00:00
|
|
|
'main.c',
|
|
|
|
'output.c',
|
2017-11-03 13:01:34 +00:00
|
|
|
'seat.c',
|
2018-05-24 17:46:54 +00:00
|
|
|
'virtual_keyboard.c',
|
2017-10-06 21:50:25 +00:00
|
|
|
'wl_shell.c',
|
2018-02-14 11:40:13 +00:00
|
|
|
'xdg_shell.c',
|
2018-08-22 08:41:25 +00:00
|
|
|
'xdg_shell_v6.c',
|
2017-10-06 21:50:25 +00:00
|
|
|
]
|
2018-08-22 08:27:37 +00:00
|
|
|
|
|
|
|
if conf_data.get('WLR_HAS_XWAYLAND', false)
|
|
|
|
sources += 'xwayland.c'
|
2017-10-06 21:50:25 +00:00
|
|
|
endif
|
2018-08-22 08:27:37 +00:00
|
|
|
|
2017-09-23 00:24:32 +00:00
|
|
|
executable(
|
2018-08-22 08:41:25 +00:00
|
|
|
'rootston',
|
|
|
|
sources,
|
|
|
|
dependencies: [wlroots, wlr_protos, pixman],
|
|
|
|
build_by_default: get_option('rootston'),
|
2017-09-23 00:24:32 +00:00
|
|
|
)
|