propagate QMAKE_INTERNAL_INCLUDED_FILES from evaluateFileInto()

no matter how little we actually use from the included files, we need to
record that we included them in the first place.

Change-Id: If09efc78f6aff4189101b21bfa040c28cefbb579
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
This commit is contained in:
Oswald Buddenhagen
2012-07-24 17:05:05 +02:00
parent 7c10134437
commit e781031b1e

View File

@@ -2013,6 +2013,13 @@ bool QMakeEvaluator::evaluateFileInto(const QString &fileName, QMakeHandler::Eva
if (!visitor.evaluateFile(fileName, type, flags))
return false;
*values = visitor.m_valuemapStack.top();
#ifdef PROEVALUATOR_FULL
ProString qiif("QMAKE_INTERNAL_INCLUDED_FILES");
ProStringList &iif = m_valuemapStack.first()[qiif];
foreach (const ProString &ifn, values->value(qiif))
if (!iif.contains(ifn))
iif << ifn;
#endif
return true;
}