2017-10-06 21:50:25 +00:00
|
|
|
sources = [
|
2018-11-25 13:39:53 +00:00
|
|
|
'bindings.c',
|
2017-10-06 21:50:25 +00:00
|
|
|
'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',
|
2019-03-02 11:12:10 +00:00
|
|
|
'render.c',
|
2017-11-03 13:01:34 +00:00
|
|
|
'seat.c',
|
2018-11-28 20:03:42 +00:00
|
|
|
'switch.c',
|
2018-08-23 09:39:49 +00:00
|
|
|
'text_input.c',
|
2019-02-23 11:15:37 +00:00
|
|
|
'view.c',
|
2018-05-24 17:46:54 +00:00
|
|
|
'virtual_keyboard.c',
|
2018-08-24 07:35:02 +00:00
|
|
|
'xdg_shell_v6.c',
|
2019-02-23 11:15:37 +00:00
|
|
|
'xdg_shell.c',
|
2017-10-06 21:50:25 +00:00
|
|
|
]
|
2018-08-24 07:35:02 +00:00
|
|
|
|
2018-11-12 09:12:46 +00:00
|
|
|
if conf_data.get('WLR_HAS_XWAYLAND', 0) == 1
|
2018-08-24 07:35:02 +00:00
|
|
|
sources += 'xwayland.c'
|
2017-10-06 21:50:25 +00:00
|
|
|
endif
|
2018-08-24 07:35:02 +00:00
|
|
|
|
2017-09-23 00:24:32 +00:00
|
|
|
executable(
|
2018-08-24 07:35:02 +00:00
|
|
|
'rootston',
|
|
|
|
sources,
|
|
|
|
dependencies: [wlroots, wlr_protos, pixman],
|
|
|
|
build_by_default: get_option('rootston'),
|
2017-09-23 00:24:32 +00:00
|
|
|
)
|