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('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_32bit', type: 'boolean', value : false)
option('mangohudctl', type: 'boolean', value : false)
option('mangoapp_layer', type: 'boolean', value : false)
option('tests', type: 'feature', value: 'auto', description: 'Run tests')

@ -218,39 +218,41 @@ if is_unixy
)
endif
if get_option('mangoapp')
pre_args += '-DIMGUI_IMPL_OPENGL_LOADER_GLEW'
pre_args += '-DMANGOAPP'
mangoapp = executable(
'mangoapp',
files(
'app/main.cpp',
),
c_args : [
pre_args,
no_override_init_args,
vulkan_wsi_args
if sizeof_ptr != 4 or get_option('mangoapp_32bit')
if get_option('mangoapp')
pre_args += '-DIMGUI_IMPL_OPENGL_LOADER_GLEW'
pre_args += '-DMANGOAPP'
mangoapp = executable(
'mangoapp',
files(
'app/main.cpp',
),
c_args : [
pre_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 : [
pre_args,
vulkan_wsi_args
],
gnu_symbol_visibility : 'hidden',
dependencies : [
dearimgui_dep,
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
)
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')

Loading…
Cancel
Save