meson: remove mangoapp_32bit option

Was introduced as a means to shorten the build cycles. With the static
lib helper it should no longer be needed.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
pull/948/head
Emil Velikov 1 year ago committed by jackun
parent eecd451068
commit 221d335006

@ -14,7 +14,6 @@ option('with_wayland', type : 'feature', value : 'disabled')
option('with_dbus', type : 'feature', value : 'enabled') option('with_dbus', type : 'feature', value : 'enabled')
option('loglevel', type: 'combo', choices : ['trace', 'debug', 'info', 'warn', 'err', 'critical', 'off'], value : 'info', description: 'Max log level in non-debug build') option('loglevel', type: 'combo', choices : ['trace', 'debug', 'info', 'warn', 'err', 'critical', 'off'], value : 'info', description: 'Max log level in non-debug build')
option('mangoapp', type: 'boolean', value : false) option('mangoapp', type: 'boolean', value : false)
option('mangoapp_32bit', type: 'boolean', value : false)
option('mangohudctl', type: 'boolean', value : false) option('mangohudctl', type: 'boolean', value : false)
option('mangoapp_layer', type: 'boolean', value : false) option('mangoapp_layer', type: 'boolean', value : false)
option('tests', type: 'feature', value: 'auto', description: 'Run tests') option('tests', type: 'feature', value: 'auto', description: 'Run tests')

@ -224,40 +224,38 @@ if is_unixy
) )
endif endif
if sizeof_ptr != 4 or get_option('mangoapp_32bit') if get_option('mangoapp')
if get_option('mangoapp') pre_args += '-DIMGUI_IMPL_OPENGL_LOADER_GLEW'
pre_args += '-DIMGUI_IMPL_OPENGL_LOADER_GLEW' pre_args += '-DMANGOAPP'
pre_args += '-DMANGOAPP' mangoapp = executable(
mangoapp = executable( 'mangoapp',
'mangoapp', files(
files( 'app/main.cpp',
'app/main.cpp', ),
), c_args : [
c_args : [ pre_args,
pre_args, vulkan_wsi_args
vulkan_wsi_args ],
], cpp_args : [
cpp_args : [ pre_args,
pre_args, vulkan_wsi_args
vulkan_wsi_args ],
], gnu_symbol_visibility : 'hidden',
gnu_symbol_visibility : 'hidden', dependencies : [
dependencies : [ dearimgui_dep,
dearimgui_dep, dep_dl,
dep_dl, spdlog_dep,
spdlog_dep, dbus_dep,
dbus_dep, dep_x11,
dep_x11, glfw3_dep,
glfw3_dep, json_dep,
json_dep, ],
], include_directories : [inc_common],
include_directories : [inc_common], install_tag : 'mangoapp',
install_tag : 'mangoapp', link_with: mangohud_static_lib,
link_with: mangohud_static_lib, link_args : link_args,
link_args : link_args, install : true
install : true )
)
endif
endif endif
if get_option('mangohudctl') if get_option('mangohudctl')

Loading…
Cancel
Save