2017-10-06 21:50:25 +00:00
|
|
|
sources = [
|
2018-11-25 14:39:53 +01:00
|
|
|
'bindings.c',
|
2017-10-06 21:50:25 +00:00
|
|
|
'config.c',
|
2017-11-08 20:25:02 -05:00
|
|
|
'cursor.c',
|
2017-10-06 21:50:25 +00:00
|
|
|
'desktop.c',
|
|
|
|
'ini.c',
|
|
|
|
'input.c',
|
|
|
|
'keyboard.c',
|
2018-03-18 15:09:37 -04:00
|
|
|
'layer_shell.c',
|
2017-10-06 21:50:25 +00:00
|
|
|
'main.c',
|
|
|
|
'output.c',
|
2017-11-03 09:01:34 -04:00
|
|
|
'seat.c',
|
2018-11-28 20:03:42 +00:00
|
|
|
'switch.c',
|
2018-08-23 11:39:49 +02:00
|
|
|
'text_input.c',
|
2018-05-24 19:46:54 +02:00
|
|
|
'virtual_keyboard.c',
|
2017-10-06 21:50:25 +00:00
|
|
|
'wl_shell.c',
|
2018-08-23 21:00:58 -04:00
|
|
|
'xdg_shell.c',
|
2018-08-24 19:35:02 +12:00
|
|
|
'xdg_shell_v6.c',
|
2017-10-06 21:50:25 +00:00
|
|
|
]
|
2018-08-24 19:35:02 +12:00
|
|
|
|
2018-11-12 10:12:46 +01:00
|
|
|
if conf_data.get('WLR_HAS_XWAYLAND', 0) == 1
|
2018-08-24 19:35:02 +12:00
|
|
|
sources += 'xwayland.c'
|
2017-10-06 21:50:25 +00:00
|
|
|
endif
|
2018-08-24 19:35:02 +12:00
|
|
|
|
2017-09-22 20:24:32 -04:00
|
|
|
executable(
|
2018-08-24 19:35:02 +12:00
|
|
|
'rootston',
|
|
|
|
sources,
|
|
|
|
dependencies: [wlroots, wlr_protos, pixman],
|
|
|
|
build_by_default: get_option('rootston'),
|
2017-09-22 20:24:32 -04:00
|
|
|
)
|