mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
meson: convert ui directory to Meson
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
478e943f51
commit
2b1ccdf441
7 changed files with 149 additions and 84 deletions
50
meson.build
50
meson.build
|
@ -243,6 +243,56 @@ coreaudio = not_found
|
|||
if 'CONFIG_AUDIO_COREAUDIO' in config_host
|
||||
coreaudio = declare_dependency(link_args: config_host['COREAUDIO_LIBS'].split())
|
||||
endif
|
||||
opengl = not_found
|
||||
if 'CONFIG_OPENGL' in config_host
|
||||
opengl = declare_dependency(link_args: config_host['OPENGL_LIBS'].split())
|
||||
else
|
||||
endif
|
||||
gtk = not_found
|
||||
if 'CONFIG_GTK' in config_host
|
||||
gtk = declare_dependency(compile_args: config_host['GTK_CFLAGS'].split(),
|
||||
link_args: config_host['GTK_LIBS'].split())
|
||||
endif
|
||||
vte = not_found
|
||||
if 'CONFIG_VTE' in config_host
|
||||
vte = declare_dependency(compile_args: config_host['VTE_CFLAGS'].split(),
|
||||
link_args: config_host['VTE_LIBS'].split())
|
||||
endif
|
||||
x11 = not_found
|
||||
if 'CONFIG_X11' in config_host
|
||||
x11 = declare_dependency(compile_args: config_host['X11_CFLAGS'].split(),
|
||||
link_args: config_host['X11_LIBS'].split())
|
||||
endif
|
||||
curses = not_found
|
||||
if 'CONFIG_CURSES' in config_host
|
||||
curses = declare_dependency(compile_args: config_host['CURSES_CFLAGS'].split(),
|
||||
link_args: config_host['CURSES_LIBS'].split())
|
||||
endif
|
||||
iconv = not_found
|
||||
if 'CONFIG_ICONV' in config_host
|
||||
iconv = declare_dependency(compile_args: config_host['ICONV_CFLAGS'].split(),
|
||||
link_args: config_host['ICONV_LIBS'].split())
|
||||
endif
|
||||
gio = not_found
|
||||
if 'CONFIG_GIO' in config_host
|
||||
gio = declare_dependency(compile_args: config_host['GIO_CFLAGS'].split(),
|
||||
link_args: config_host['GIO_LIBS'].split())
|
||||
endif
|
||||
png = not_found
|
||||
if 'CONFIG_VNC_PNG' in config_host
|
||||
png = declare_dependency(compile_args: config_host['PNG_CFLAGS'].split(),
|
||||
link_args: config_host['PNG_LIBS'].split())
|
||||
endif
|
||||
jpeg = not_found
|
||||
if 'CONFIG_VNC_JPEG' in config_host
|
||||
jpeg = declare_dependency(compile_args: config_host['JPEG_CFLAGS'].split(),
|
||||
link_args: config_host['JPEG_LIBS'].split())
|
||||
endif
|
||||
sasl = not_found
|
||||
if 'CONFIG_VNC_SASL' in config_host
|
||||
sasl = declare_dependency(compile_args: config_host['SASL_CFLAGS'].split(),
|
||||
link_args: config_host['SASL_LIBS'].split())
|
||||
endif
|
||||
|
||||
create_config = find_program('scripts/create_config')
|
||||
minikconf = find_program('scripts/minikconf.py')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue