build: Switch order of subdirectories

This makes demos be compiled/linked before tests. And that means that
while hacking, I can already run widget-factory when the tests are
still linking.
This commit is contained in:
Benjamin Otte 2018-02-17 16:43:21 +01:00
parent 9fa1e68151
commit 5970dac167

View File

@ -593,14 +593,14 @@ subdir('gdk')
subdir('gsk') subdir('gsk')
subdir('gtk') subdir('gtk')
subdir('modules') subdir('modules')
if get_option('build-tests')
subdir('tests')
subdir('testsuite')
endif
if get_option('demos') if get_option('demos')
subdir('demos') subdir('demos')
subdir('examples') subdir('examples')
endif endif
if get_option('build-tests')
subdir('tests')
subdir('testsuite')
endif
# config.h # config.h
configure_file(input: 'config.h.meson', configure_file(input: 'config.h.meson',