diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2017-09-12 11:54:57 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2017-09-27 10:27:39 +0000 |
commit | 72eedbb0a4a4acbe5cafe574a185438299f07367 (patch) | |
tree | e5778c0056be0bd076f1ae23aa8877486651a604 /share/qbs/modules/cpp/tvos-gcc.qbs | |
parent | 21cc614bd8bbb4d43a50edd478b19b4ca52a6d04 (diff) |
Use Module.priority to choose the right cpp module instance
Replace the negating conditions in our cpp instances with module
priorities. This removes the need of knowing about all other more
specialized instances in more general instances.
Change-Id: I511ba11f2cb69ea1458b786a2db4309de8910ebf
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'share/qbs/modules/cpp/tvos-gcc.qbs')
-rw-r--r-- | share/qbs/modules/cpp/tvos-gcc.qbs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/share/qbs/modules/cpp/tvos-gcc.qbs b/share/qbs/modules/cpp/tvos-gcc.qbs index d3d7f0a3c..ae4dd5c5b 100644 --- a/share/qbs/modules/cpp/tvos-gcc.qbs +++ b/share/qbs/modules/cpp/tvos-gcc.qbs @@ -31,6 +31,7 @@ import qbs DarwinGCC { + priority: 1 condition: qbs.targetOS.contains('tvos') && qbs.toolchain && qbs.toolchain.contains('gcc') |