[gtk/wip/otte/paintable: 56/62] build: Switch order of subdirectories



commit 6f0bddc88110069b7b3b990f85123b22bc83be94
Author: Benjamin Otte <otte redhat com>
Date:   Sat Feb 17 16:43:21 2018 +0100

    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.

 meson.build | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/meson.build b/meson.build
index 9d0c8c5d59..2ddc297fc0 100644
--- a/meson.build
+++ b/meson.build
@@ -612,14 +612,14 @@ subdir('gdk')
 subdir('gsk')
 subdir('gtk')
 subdir('modules')
-if get_option('build-tests')
-  subdir('tests')
-  subdir('testsuite')
-endif
 if get_option('demos')
   subdir('demos')
   subdir('examples')
 endif
+if get_option('build-tests')
+  subdir('tests')
+  subdir('testsuite')
+endif
 
 # config.h
 configure_file(input: 'config.h.meson',


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]