Make qmake respect <subdir>.CONFIG = no_default_install
It already respects no_default_target
This commit is contained in:
parent
88dd54405f
commit
bd06459179
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user