mangohudctl meson option

gpu_metrics
FlightlessMango 2 years ago
parent 97f6a00171
commit e9d4eeff04

@ -16,3 +16,4 @@ option('with_dlsym', type : 'feature', value : 'disabled')
option('with_libdrm_amdgpu', type : 'feature', value : 'enabled', description: 'Get amdgpu sensor info through libdrm_amdgpu')
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('mangohudctl', type: 'boolean', value : 'false')

@ -264,6 +264,14 @@ if get_option('mangoapp') and sizeof_ptr == 8
)
endif
if get_option('mangohudctl') and sizeof_ptr == 8
mangoapp = executable(
'mangohudctl',
files('app/control.cpp'),
install : true
)
endif
configure_file(input : 'mangohud.json.in',
output : '@0@.json'.format(meson.project_name()),
configuration : {'ld_libdir_mangohud' : ld_libdir_mangohud_vk,

Loading…
Cancel
Save