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