make CONFIG+=no_dll affect pdb files as well
this option suppresses the installation of target (leaving only dlltarget). however, it still installed target's pdb file. Change-Id: Ia686a647c101ca66e74944d23171e120fc74515a Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
parent
26a0a3ed85
commit
272fcac4d7
@ -238,7 +238,8 @@ QString NmakeMakefileGenerator::defaultInstall(const QString &t)
|
||||
if (project->isActiveConfig("debug")) {
|
||||
if (t == "dlltarget"
|
||||
|| (project->first("TEMPLATE") == "lib"
|
||||
&& project->isActiveConfig("shared"))) {
|
||||
&& project->isActiveConfig("shared")
|
||||
&& project->values(ProKey(t + ".CONFIG")).indexOf("no_dll") == -1)) {
|
||||
QString pdb_target = getPdbTarget();
|
||||
pdb_target.remove('"');
|
||||
QString src_targ = (project->isEmpty("DESTDIR") ? QString("$(DESTDIR)") : project->first("DESTDIR")) + pdb_target;
|
||||
|
Loading…
x
Reference in New Issue
Block a user