summaryrefslogtreecommitdiff
path: root/qmake
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@nokia.com>2012-01-06 16:40:27 +0100
committerJoerg Bornemann <joerg.bornemann@nokia.com>2012-01-06 19:12:33 +0100
commit5f98bdaa746d38b9226b8923b594f76196eb38d0 (patch)
treefbdc97fc6ccf97924b8cedcfc6938a5183ff56ae /qmake
parent784a2e22d9e35c763e81561a0f5e6affd6688924 (diff)
downloadqt4-tools-5f98bdaa746d38b9226b8923b594f76196eb38d0.tar.gz
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')
-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 bf84e60a69..bbac577fea 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();
}