de-duplicate condition for default install target
we can rely on the super class to get it right. as a "side effect", we won't try to install .pdb files for aux projects anymore - the duplicated conditional was incomplete. Change-Id: I9b66f32ab50ed2a1d4e6e03a9d205686a4b4a981 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
parent
adc5c93ddc
commit
d3744eff86
@ -261,12 +261,9 @@ void NmakeMakefileGenerator::writeSubMakeCall(QTextStream &t, const QString &cal
|
|||||||
|
|
||||||
QString NmakeMakefileGenerator::defaultInstall(const QString &t)
|
QString NmakeMakefileGenerator::defaultInstall(const QString &t)
|
||||||
{
|
{
|
||||||
if((t != "target" && t != "dlltarget") ||
|
|
||||||
(t == "dlltarget" && (project->first("TEMPLATE") != "lib" || !project->isActiveConfig("shared"))) ||
|
|
||||||
project->first("TEMPLATE") == "subdirs")
|
|
||||||
return QString();
|
|
||||||
|
|
||||||
QString ret = Win32MakefileGenerator::defaultInstall(t);
|
QString ret = Win32MakefileGenerator::defaultInstall(t);
|
||||||
|
if (ret.isEmpty())
|
||||||
|
return ret;
|
||||||
|
|
||||||
const QString root = installRoot();
|
const QString root = installRoot();
|
||||||
ProStringList &uninst = project->values(ProKey(t + ".uninstall"));
|
ProStringList &uninst = project->values(ProKey(t + ".uninstall"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user