summaryrefslogtreecommitdiffstats
path: root/qmake/generators
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@nokia.com>2012-01-06 15:40:27 (GMT)
committerJoerg Bornemann <joerg.bornemann@nokia.com>2012-01-06 18:12:33 (GMT)
commit5f98bdaa746d38b9226b8923b594f76196eb38d0 (patch)
treefbdc97fc6ccf97924b8cedcfc6938a5183ff56ae /qmake/generators
parent784a2e22d9e35c763e81561a0f5e6affd6688924 (diff)
downloadQt-5f98bdaa746d38b9226b8923b594f76196eb38d0.zip
Qt-5f98bdaa746d38b9226b8923b594f76196eb38d0.tar.gz
Qt-5f98bdaa746d38b9226b8923b594f76196eb38d0.tar.bz2
qmake: fix default value for C++ optimization in vcxproj files
For the debug configuration the optimization should be turned off. Reviewed-by: ossi Task-number: QTBUG-23421 Change-Id: Ib63e0c51f9ab31180ff8ee01a1f6c57ab77e390e
Diffstat (limited to 'qmake/generators')
-rw-r--r--qmake/generators/win32/msbuild_objectmodel.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/qmake/generators/win32/msbuild_objectmodel.cpp b/qmake/generators/win32/msbuild_objectmodel.cpp
index bf84e60..bbac577 100644
--- a/qmake/generators/win32/msbuild_objectmodel.cpp
+++ b/qmake/generators/win32/msbuild_objectmodel.cpp
@@ -902,10 +902,14 @@ static inline QString toString(inlineExpansionOption option)
static inline QString toString(optimizeOption option)
{
switch (option) {
+ case optimizeDisabled:
+ return "Disabled";
case optimizeMinSpace:
return "MinSpace";
case optimizeMaxSpeed:
return "MaxSpeed";
+ case optimizeFull:
+ return "Full";
}
return QString();
}