install pdb files also for static libraries
the condition is now consistent with that of the target itself (which means that by setting target.CONFIG=no_dll one can actually suppress installing the target itself even if it's not a dll, but anyway). Task-number: QTBUG-39253 Change-Id: Id4684a550a33b463594ab537eaa9e1cbfb61e4ff Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
parent
2e284a8d7e
commit
08a7828429
@ -270,10 +270,7 @@ QString NmakeMakefileGenerator::defaultInstall(const QString &t)
|
|||||||
targetdir += Option::dir_sep;
|
targetdir += Option::dir_sep;
|
||||||
|
|
||||||
if (project->isActiveConfig("debug_info")) {
|
if (project->isActiveConfig("debug_info")) {
|
||||||
if (t == "dlltarget"
|
if (t == "dlltarget" || project->values(ProKey(t + ".CONFIG")).indexOf("no_dll") == -1) {
|
||||||
|| project->first("TEMPLATE") != "lib"
|
|
||||||
|| (project->isActiveConfig("shared")
|
|
||||||
&& project->values(ProKey(t + ".CONFIG")).indexOf("no_dll") == -1)) {
|
|
||||||
QString pdb_target = getPdbTarget();
|
QString pdb_target = getPdbTarget();
|
||||||
pdb_target.remove('"');
|
pdb_target.remove('"');
|
||||||
QString src_targ = (project->isEmpty("DESTDIR") ? QString("$(DESTDIR)") : project->first("DESTDIR")) + pdb_target;
|
QString src_targ = (project->isEmpty("DESTDIR") ? QString("$(DESTDIR)") : project->first("DESTDIR")) + pdb_target;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user