qmake: fix incrementalLinker option writing for vcxproj

Change-Id: I7d3b33a3a2e2f7c89ea956cd1304e7d2e365151f
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
This commit is contained in:
Joerg Bornemann 2011-10-14 16:52:26 +02:00 committed by Qt by Nokia
parent b091ec9a22
commit d1ff829072

View File

@ -653,7 +653,7 @@ void VCXProjectWriter::write(XmlOutput &xml, VCProject &tool)
<< valueTagT(tool.SingleProjects.at(i).Configuration.linker.IgnoreImportLibrary);
}
if ( tool.SingleProjects.at(i).Configuration.linker.LinkIncremental != unset) {
if ( tool.SingleProjects.at(i).Configuration.linker.LinkIncremental != linkIncrementalDefault) {
const triState ts = (tool.SingleProjects.at(i).Configuration.linker.LinkIncremental == linkIncrementalYes ? _True : _False);
xml << tag("LinkIncremental")
<< attrTag("Condition", QString("'$(Configuration)|$(Platform)'=='%1'").arg(tool.SingleProjects.at(i).Configuration.Name))