summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@nokia.com>2010-10-11 15:26:13 (GMT)
committerJoerg Bornemann <joerg.bornemann@nokia.com>2010-10-11 16:52:29 (GMT)
commit624267441e94e87ddb79f5e3748fc17a9a98c311 (patch)
treeabe5205c329594300bf78c1053edcf13e12c16c9
parentcd4eaa9c8274559aa2b0ceaeed1644966b9a2d94 (diff)
downloadQt-624267441e94e87ddb79f5e3748fc17a9a98c311.zip
Qt-624267441e94e87ddb79f5e3748fc17a9a98c311.tar.gz
Qt-624267441e94e87ddb79f5e3748fc17a9a98c311.tar.bz2
qmake: delete .pdb file when making 'distclean' instead of 'clean'
In Visual Studio builds "nmake clean" will now keep the .pdb files. Calling "nmake distclean" will delete them. Task-number: QTBUG-13853 Reviewed-by: ossi
-rw-r--r--qmake/generators/win32/msvc_nmake.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake/generators/win32/msvc_nmake.cpp b/qmake/generators/win32/msvc_nmake.cpp
index 907f8dc..b707607 100644
--- a/qmake/generators/win32/msvc_nmake.cpp
+++ b/qmake/generators/win32/msvc_nmake.cpp
@@ -213,7 +213,7 @@ void NmakeMakefileGenerator::init()
project->values("QMAKE_CLEAN").append(project->first("DESTDIR") + project->first("TARGET") + version + ".exp");
}
if(project->isActiveConfig("debug")) {
- project->values("QMAKE_CLEAN").append(project->first("DESTDIR") + project->first("TARGET") + version + ".pdb");
+ project->values("QMAKE_DISTCLEAN").append(project->first("DESTDIR") + project->first("TARGET") + version + ".pdb");
project->values("QMAKE_CLEAN").append(project->first("DESTDIR") + project->first("TARGET") + version + ".ilk");
project->values("QMAKE_CLEAN").append("vc*.pdb");
project->values("QMAKE_CLEAN").append("vc*.idb");