build: Allow disabling tests
This commit is contained in:
parent
d99613a320
commit
c884b19b46
2 changed files with 7 additions and 2 deletions
|
@ -262,7 +262,10 @@ subdir('po')
|
|||
subdir('panels')
|
||||
subdir('shell')
|
||||
subdir('search-provider')
|
||||
subdir('tests')
|
||||
|
||||
if get_option('tests')
|
||||
subdir('tests')
|
||||
endif
|
||||
|
||||
if get_option('documentation')
|
||||
subdir('man')
|
||||
|
@ -278,6 +281,7 @@ output += '\n ' + meson.project_name() + ' - ' + meson.project_version()
|
|||
output += ' ===================================\n'
|
||||
output += ' Options \n'
|
||||
output += ' Documentation .............................. ' + get_option('documentation').to_string() + '\n'
|
||||
output += ' Build Tests ................................ ' + get_option('tests').to_string() + '\n'
|
||||
output += ' Tracing .................................... ' + enable_tracing.to_string() + '\n'
|
||||
output += ' gnome-session libexecdir ................... ' + gnome_session_libexecdir + '\n'
|
||||
output += ' Optimized .................................. ' + control_center_optimized.to_string() + '\n'
|
||||
|
|
|
@ -2,5 +2,6 @@ option('cheese', type: 'boolean', value: true, description: 'build with cheese w
|
|||
option('documentation', type: 'boolean', value: false, description: 'build documentation')
|
||||
option('gnome_session_libexecdir', type: 'string', value: '', description: 'Directory for gnome-session\'s libexecdir')
|
||||
option('ibus', type: 'boolean', value: true, description: 'build with IBus support')
|
||||
option('tests', type: 'boolean', value: true, description: 'build tests')
|
||||
option('tracing', type: 'boolean', value: false, description: 'add extra debugging information')
|
||||
option('wayland', type: 'boolean', value: true, description: 'build with Wayland support')
|
||||
option('wayland', type: 'boolean', value: true, description: 'build with Wayland support')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue