mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-01 11:26:04 +08:00
skip modules whose mandatory dependencies are missing
so that for example "-skip webkit" will also skip qtwebkit-examples. Task-number: QTBUG-30307 Change-Id: I730830781ea5dabdccab88d19e82165f30dca8fe Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com> Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
This commit is contained in:
committed by
The Qt Project
parent
cfbfb61233
commit
7b034fec34
8
qt.pro
8
qt.pro
@@ -27,8 +27,12 @@ defineTest(addModule) {
|
||||
export($${mod}.makefile)
|
||||
}
|
||||
|
||||
for(d, 2): \
|
||||
$${mod}.depends += $$moduleName($$d)
|
||||
for(d, 2) {
|
||||
dn = $$moduleName($$d)
|
||||
!contains(SUBDIRS, $$dn): \
|
||||
return(false)
|
||||
$${mod}.depends += $$dn
|
||||
}
|
||||
for(d, 3) {
|
||||
dn = $$moduleName($$d)
|
||||
contains(SUBDIRS, $$dn): \
|
||||
|
||||
Reference in New Issue
Block a user