don't turn = into += in cumulative mode
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>
Fri, 15 Nov 2013 18:28:50 +0000 (19:28 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 15 Jan 2014 18:28:50 +0000 (19:28 +0100)
commit71454fbb13f22d17aba6f8b356061ea6f81aea0b
tree690561693006a536824c4cbb9188273833b75899
parent3fabc1ffae016dd4e02bd425a68eccf82849f796
don't turn = into += in cumulative mode

it leads to pathological cases where the number of loop iterations may
go way beyond the reasonable.

this means that users need to avoid using the = operator in alternative
branches that lead to different sources/subdirectories being included
into the project. this is a bit of a corner case anyway, as people
usually add directly to SOURCES/SUBDIRS.

Change-Id: I7783e318fbc2790f6a853ba4e3f4a12db881feb5
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
(cherry picked from qtcreator/30bd7fcce1aef974f6af9eaa6532aa1f2b6192d2)
src/linguist/shared/qmakeevaluator.cpp