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