2017-10-06 23:50:25 +02:00
|
|
|
sources = [
|
|
|
|
'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',
|
2017-11-03 14:01:34 +01:00
|
|
|
'seat.c',
|
2018-05-24 19:46:54 +02:00
|
|
|
'virtual_keyboard.c',
|
2017-10-06 23:50:25 +02:00
|
|
|
'wl_shell.c',
|
2018-08-24 03:00:58 +02:00
|
|
|
'xdg_shell.c',
|
2018-08-24 09:35:02 +02:00
|
|
|
'xdg_shell_v6.c',
|
2017-10-06 23:50:25 +02:00
|
|
|
]
|
2018-08-24 09:35:02 +02:00
|
|
|
|
|
|
|
if conf_data.get('WLR_HAS_XWAYLAND', false)
|
|
|
|
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
|
|
|
)
|