mangoapp: meson option to install lib32

pull/890/head
FlightlessMango 1 year ago
parent 8d064db204
commit 6f23cdeaf1

@ -15,6 +15,7 @@ option('with_dbus', type : 'feature', value : 'enabled')
option('with_dlsym', type : 'feature', value : 'disabled') option('with_dlsym', type : 'feature', value : 'disabled')
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 : true) option('mangoapp', type: 'boolean', value : true)
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')

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

Loading…
Cancel
Save