build: style cleanup and group unit testing bits together

This commit is contained in:
Christian Hergert 2023-08-22 10:53:25 -07:00
parent b6061c19b8
commit c0363de459

View File

@ -160,13 +160,12 @@ subdir('tools')
have_tests = get_option('tests')
if have_tests
subdir('tests')
subdir('tests')
endif
summary('Enabled', have_tests, section: 'Tests')
if get_option('docs') and get_option('introspection').allowed()
subdir('docs')
endif
configure_file(output: 'config.h', configuration: config_h)
summary('Enabled', have_tests, section: 'Tests')