Make qmake respect <subdir>.CONFIG = no_default_install

It already respects no_default_target
This commit is contained in:
Marius Storm-Olsen 2011-02-24 13:01:18 -06:00 committed by axis
parent 88dd54405f
commit bd06459179

View File

@ -2570,6 +2570,10 @@ MakefileGenerator::writeSubTargets(QTextStream &t, QList<MakefileGenerator::SubT
&& project->values(subTarget->name + ".CONFIG").indexOf("no_default_target") != -1) {
continue;
}
if((suffix == "install_subtargets" || suffix == "uninstall_subtargets")
&& project->values(subTarget->name + ".CONFIG").indexOf("no_default_install") != -1) {
continue;
}
QString targetRule = subTarget->target + "-" + suffix;
if(flags & SubTargetOrdered)
targetRule += "-ordered";