mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-25 06:59:42 -05:00
Make xwayland compile-time optional
This commit is contained in:
parent
decd87043f
commit
9cab66f0f9
7 changed files with 57 additions and 28 deletions
|
|
@ -1,17 +1,20 @@
|
|||
sources = [
|
||||
'config.c',
|
||||
'cursor.c',
|
||||
'desktop.c',
|
||||
'ini.c',
|
||||
'input.c',
|
||||
'keyboard.c',
|
||||
'main.c',
|
||||
'output.c',
|
||||
'pointer.c',
|
||||
'tablet_tool.c',
|
||||
'xdg_shell_v6.c',
|
||||
'wl_shell.c',
|
||||
]
|
||||
if get_option('enable_xwayland')
|
||||
sources += ['xwayland.c']
|
||||
endif
|
||||
executable(
|
||||
'rootston', [
|
||||
'config.c',
|
||||
'cursor.c',
|
||||
'desktop.c',
|
||||
'ini.c',
|
||||
'input.c',
|
||||
'keyboard.c',
|
||||
'main.c',
|
||||
'output.c',
|
||||
'pointer.c',
|
||||
'tablet_tool.c',
|
||||
'xdg_shell_v6.c',
|
||||
'xwayland.c',
|
||||
'wl_shell.c',
|
||||
], dependencies: wlroots
|
||||
'rootston', sources, dependencies: wlroots
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue