meson options: notify

This commit is contained in:
FlightlessMango 2023-09-21 00:25:24 +02:00
parent a51d60a5d1
commit ed8b08c676
2 changed files with 5 additions and 1 deletions

View File

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

View File

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