meson options: notify

mangohud-subproject
FlightlessMango 8 months ago
parent 00c8e47293
commit 8da7e06b44

@ -12,3 +12,4 @@ option('mangoapp', 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')
option('with_notify', type: 'feature', value: 'enabled')

@ -66,7 +66,6 @@ if is_unixy or cpp.get_id() == 'emscripten'
'cpu.cpp',
'memory.cpp',
'iostats.cpp',
'notify.cpp',
'elfhacks.cpp',
'real_dlsym.cpp',
'pci_ids.cpp',
@ -77,6 +76,10 @@ if is_unixy or cpp.get_id() == 'emscripten'
'intel.cpp'
)
if get_option('with_notify').enabled()
vklayer_files += 'notify.cpp'
endif
opengl_files = files(
'gl/glad.c',
'gl/gl_renderer.cpp',

Loading…
Cancel
Save