forked from qt-creator/qt-creator
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user