mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-23 19:49:43 +00:00
build: Disable non-xemu display backends
This commit is contained in:
parent
af0de4e532
commit
a52e03a444
@ -85,6 +85,10 @@ specific_ss.add(when: ['CONFIG_SOFTMMU'], if_true: opengl)
|
|||||||
|
|
||||||
ui_modules = {}
|
ui_modules = {}
|
||||||
|
|
||||||
|
xemu_enable_extra_ui_modules = false
|
||||||
|
|
||||||
|
if xemu_enable_extra_ui_modules
|
||||||
|
|
||||||
if curses.found()
|
if curses.found()
|
||||||
curses_ss = ss.source_set()
|
curses_ss = ss.source_set()
|
||||||
curses_ss.add(when: [curses, iconv], if_true: [files('curses.c'), pixman])
|
curses_ss.add(when: [curses, iconv], if_true: [files('curses.c'), pixman])
|
||||||
@ -128,7 +132,7 @@ if sdl.found()
|
|||||||
))
|
))
|
||||||
sdl_ss.add(when: [opengl, 'CONFIG_OPENGL'], if_true: files('sdl2-gl.c'))
|
sdl_ss.add(when: [opengl, 'CONFIG_OPENGL'], if_true: files('sdl2-gl.c'))
|
||||||
sdl_ss.add(when: x11, if_true: files('x_keymap.c'))
|
sdl_ss.add(when: x11, if_true: files('x_keymap.c'))
|
||||||
# ui_modules += {'sdl' : sdl_ss}
|
ui_modules += {'sdl' : sdl_ss}
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if config_host.has_key('CONFIG_SPICE')
|
if config_host.has_key('CONFIG_SPICE')
|
||||||
@ -147,6 +151,8 @@ if config_host.has_key('CONFIG_SPICE') and config_host.has_key('CONFIG_GIO')
|
|||||||
ui_modules += {'spice-app': spice_ss}
|
ui_modules += {'spice-app': spice_ss}
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
endif # xemu_enable_extra_ui_modules
|
||||||
|
|
||||||
keymap_gen = find_program('keycodemapdb/tools/keymap-gen')
|
keymap_gen = find_program('keycodemapdb/tools/keymap-gen')
|
||||||
|
|
||||||
keymaps = [
|
keymaps = [
|
||||||
|
Loading…
Reference in New Issue
Block a user