meson options: notify

mangoconfig
FlightlessMango 9 months ago
parent a51d60a5d1
commit ed8b08c676

@ -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')

@ -76,7 +76,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',
@ -87,6 +86,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