mirror of
https://github.com/flightlessmango/MangoHud.git
synced 2024-11-16 00:13:00 +00:00
mangohudctl meson option
This commit is contained in:
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('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('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('mangohudctl', type: 'boolean', value : 'false')
|
||||||
|
@ -264,6 +264,14 @@ if get_option('mangoapp') and sizeof_ptr == 8
|
|||||||
)
|
)
|
||||||
endif
|
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',
|
configure_file(input : 'mangohud.json.in',
|
||||||
output : '@0@.json'.format(meson.project_name()),
|
output : '@0@.json'.format(meson.project_name()),
|
||||||
configuration : {'ld_libdir_mangohud' : ld_libdir_mangohud_vk,
|
configuration : {'ld_libdir_mangohud' : ld_libdir_mangohud_vk,
|
||||||
|
Loading…
Reference in New Issue
Block a user