meson: add option to disable tests
This commit is contained in:
parent
d230a02048
commit
6147df337e
|
@ -238,6 +238,9 @@ endif
|
|||
|
||||
subdir('src')
|
||||
subdir('util')
|
||||
|
||||
if not get_option('tests').disabled()
|
||||
subdir('test')
|
||||
endif
|
||||
|
||||
configure_file(output: 'config.h', configuration: conf)
|
||||
|
|
|
@ -23,7 +23,7 @@ option('coretext', type: 'feature', value: 'disabled',
|
|||
description: 'Enable CoreText shaper backend on macOS')
|
||||
|
||||
# Common feature options
|
||||
#option('tests', type : 'feature', value : 'auto', yield : true,
|
||||
# description: 'Enable or disable unit tests')
|
||||
option('tests', type : 'feature', value : 'auto', yield : true,
|
||||
description: 'Enable or disable unit tests')
|
||||
#option('introspection', type : 'feature', value : 'disabled', yield : true,
|
||||
# description : 'Generate gobject-introspection bindings (.gir/.typelib files)')
|
||||
|
|
Loading…
Reference in New Issue